javascript clone of asteroids using the canvas element