updated asteroids.js