a browser-based asteroids game using javascript