Rework jshint ops and adjust code.