removes some jshint warnings