ENYO-2265: Fixed jshint errors