Edits from Adam's code review.

-use isNaN function to test for input that is not a number after parseInt
-remove extra spaces immediately inside parens
-use IDs in html for more specific jQuery selection
-both clicking on button and pressing enter call submitGuess function