Guessing game in JS for FSA pre-work