ENYO-2899: fix jshint errors