Update error-reporting.js