Testing a game in HTML5