Update reporting.js

finding error