Space Invaders in vanilla JavaScript