Asteroids game in Javascript and HTML