Improve formatting of browser errors.