Onload event handler change for IE