fix most jshint warnings
disable jshint unused
Merge pull request #31 from dduugg/feature/jshint-fixes

fix jshint warnings merged