Vanilla JavaScript Hangman