change process that listen load event to readystatechange event.