Console.Log: Say Goodbye to JavaScript Alerts for Debugging
blogs.msdn.microsoft.com