Adding validation check to `handleSubmit`.

Also adding `e.preventDefault()` and changing to plain `return`.
Merge pull request #2 from michaelrp/patch-1

Adding validation check to `handleSubmit`.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Adding validation check to `handleSubmit`.
Update dependencies
Using cors module addresses error

Fixes this error:
  XMLHttpRequest cannot load http://localhost:3001/comments.json. The
  'Access-Control-Allow-Origin' header has a value 'http://localhost:3001'
  that is not equal to the supplied origin. Origin 'http://0.0.0.0:3000'
  is therefore not allowed access.

See http://stackoverflow.com/a/21622564/1009332
See http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
Removed unnecessary method
added semicolons
Merge pull request #1 from justin808/update-latest-justin

Update latest dependencies and address cors issue