#122 fix all jshint warnings