Bug 848535 - Simplify js object holding in XHR and FileReader. r=mccr8, a=lsblakk