A quick game of hangman with JavaScript