Not to mention that I think writing something like a scene graph in JS would make me rage.
Not to mention that I think writing something like a scene graph in JS would make me rage.
But sure, if all you want to do is draw some lines and bitmaps on the screen, no problem.
The whole game is built upon SVG, CSS3 (transform3d) and CoffeeScript and it works pretty fine, even on the iPad which is also the target platform. The limiting factor with this combination is the number of DOM elements. We are currently considering to render our racing tracks as a single image so we can remove the several SVG paths we currently use for this.
If you want to take a look you can find the source on GitHub[1] or play the game[2]. Currently only Chrome and iPad are supported. But that's only because we haven't added all vendor prefixes yet.
[1] https://github.com/stravid/slotcars [2] http://slotcars.herokuapp.com/
The gain in productivity wins hands down against the mess of having JavaScript+HTML+CSS working the same way across browsers and OS.