fix jshint errors
improve reporter