a javascript game engine with jQuery