only wait for onload if loadEventEnd not yet set