Hangman game in JavaScript with Twotter Bootstrap