fixed check win logic in hangman, added mode check for selecting js, changed some text