Simple Space Invaders in JavaScript