fix js-hint errors
Merge pull request #22 from jmulholland/small_fixes

fix js-hint errors