address all jshint issues
Merge pull request #84 from yc662/jshintFixup

Address jsHint complaints