Updated the javascript rock, paper, scissors game to handle any unexpected responsed from the user. Also called the compare function.