Javascript version of Asteroids, using Canvas