Allow disabling of JS error reporting (for qunit)