Feature detect xhr.responseType="document" just in case