For HTML5, we already have one: http://hildr.luminance.org/Platformer/Platformer.html
If one of these were to stick - it would first need to be supported be a somewhat larger organization (ala apache foundation for java components, or google for GWT/Closure).