Stop Safari from throwing errors about xhr.responseType