It should listen to the method "onload" when not using IE browser