This is a javascript version of the hangman game.