ENYO-3082: fix jshint errors