Adding WinJS support