ENYO-3104: fix jshint errors