Hangman game - JS