An error reporter for the browser