#1272: Change event error.x.x -> err.x.x to avoid window.onerror being invoked