A javascript guess the number game from week 4