Hangman game,  jquery and ajax