refactor report.js