Javacript asteroids