Asteroids, in JS