classic asteroids in javascript