JQuery-based version of guess the number