logger jshint issue fixed