Building the HTML 5 game