Brought code back into line with existing jshint