Hangman game in JavaScript with twitter bootstrap