A javascript and HTML5 canvas Game