the JS file that has the code related to creating the game hangman.

I have created this file in my own hangman game that is based on html and JS. I request you to take a look at this JS file and suggest some changes.