a Javascript game to guess a number