JavaScript Whack-Mole game