The javascript-errorcollector listens on the DOM onerror event, tries to gather all available information and sends those data as a pixel to a serverside endpoint.
The default endpoint URL is /diagnostics/logimage
Big thanks for his help go to alexlawrence