Revert back to window.onload