ENYO-3762: fix jshint issues