An approach for a space game based on HTML5 and javascript