removing jshint errors