Very cool, I've thought about doing something similiar to this as well as making a node.js (with an OpenGL binding) canvas implementation.
The iOS backend uses Spidermonkey which could easily be used in a desktop version. Another option would be to use V8 directly.