repair jshint regressions