add support for WinJS