Don't use the document load event if the document is loaded.