Asteroids code in asteroid.js file