Fix IE8 readystate issue