Little javascript game/platform engine