Missile Command game with upgrades in JavaScript