Setting .responseType needs to come after open