JavaScript Asteroids game using HTML5 Canvas