removing jshint warnings