[HTML5] Ability to execute arbitrary JS code

It would make easier to integrate your game with your site (like posting highscores via jQuery or accessing Kongregate’s/other web game sites APIs).

It could would similarly to C++ functionality and from engine’s standpoint, JavaScript’s eval function could be used.

I was thinking about it.
But it won’t use eval ( eval is evil :slight_smile: ), but the javascript code will probably be stored in a function that will be called by the events code.

If it’ll work, I don’t care if it will use eval or not.