Update hangman.js

Made searchbyindex accept only numbers, prevented forceevent if game is running.
Merge pull request #743 from Gastrodon/patch-1

Update hangman.js