Uncaught error made easy for WinJS