Issue #31 fix jshint issues