Adapted /js-error-record to not complain about malformed record requests