hangman-js hangman game in javascript Issues user can repeat a wrong guess (and right guess too actually)