Update hangman.js

Made searchbyindex and deletequest accept only numbers, prevent forceevent if game is running.
Edit : Removed an extra bracket I left ;~;