fixing all jshint errors