ENYO-3284: correct JSHint warnings.