Better support XHR2 response

Conflicts:
	spec/javascripts/mock-ajax-toplevel-spec.js