asteroids using JavaScript