Reporting errors back to the servers in thirdPartyJs