clean up jshint issues
Merge pull request #339 from knalli/feature/jshint-again

clean up jshint issues