fix logger jshint errors