Simple JS hangman game