Additional utility functions for WinJS