Update application.js

Added enter key functionality for submitting guesses.