Classic Space Invaders JavaScript implementation