IE11 removed onreadystatechange

replace with onload