added before and after blocks to example report.js