ENYO-2889: fix jshint errors