beginning of html5 game
cleaning up