ENYO-2819: fix jshint warnings.