first open than set responseType (firefox support)