This line is the same for correct_guess.js.erb and max_guesses.js.erb, but it uses ERB so I left it out of the process_next_card() js function.  Is there a way to prevent this duplication?