Made /js-error-record a little more lenient about what it accepts