Safari readyState bug fixed