fixed some jshint warnings
random report feature