Fixes a safari bug for xhr.response. Allows cached items to be preloaded