javascript asteroids using html5 canvas