HTML5 Canvas game in the style of Space Invaders