resolves minor jshint errors