First game in javascript and HTML5