Update xhr responseType for Safari