winjs/winrt from TypeScript samples