js code for jquery guessing game