jshint-inspired adjustments