.responseType needs to come after open()