fix firefox - requires XHR responseType to be set *after* request.open()