Update reporting.js

minor error improvement