fixes jshint hints