This little project tries to adapt a part of XNA to JavaScript, using some classes similar to XNA and extending the framework with other classes that help on the 2D game development, like _Sprite_, _Camera_, _Circle_, etc.
You can simply pick the _src/JS/XNA_Classes/Game.js_ class, copy it wherever you want, and modify it in order to develop your own game. Then create an HTML file and reference all the classes you use in there.
The **simple way to know how to use it** is watching the demos already done (located at _src/HTML_) and inspecting them.