Catch errors in xhr.open. Unlikely but they seem to happen.

Error in Firefox: [unsupported: no toString() function in type object] { QueryInterface=QueryInterface(), initialize=initialize()}