ENYO-2264: fixed jshint issues