ENYO-3240: fix jshint errors