bugfix in error_report.js

This code isn't actually causing any bug but it will be wrong to write `this` because here `this` references to `ErrorReport` and not `AJAX.cache`.