After playing a bit with the new Visual Studio 11 preview, I think the most interesting question is how can I make my new javascript based app run also in the browser with minimal changes? is that possible? I suppose the idea of supporting javascript is for better cross-platform apps, am I right?
I understand some of the winJs code calls the WinRT, but can we use some of the WinJS code on web-based apps too?
It seems like things have changed. WinJS has become available on all platforms... You can try it in the browser here: try.buildwinjs.com
WinJS is actually being open source now: blog, github
Use this powerful Windows development framework to build high-quality web apps across a variety of browsers and devices beyond Windows, including Chrome, Firefox, Android, and iOS.