Changed how the reporter is loaded when used in a browser