Update reporting.js

error fixing