yeah, I'd be concerned about this too. Use xhr.onerror & xhr.onload instead.