A approach to a space game based on HTML5 and javascript