(chore) Add JSHint via mocha and clean up code.  Closes #31
Merge pull request #32 from noodle/feat/jshint

(chore) Add JSHint via mocha and clean up code.  Closes #31