Prevent OnDomLoaded to run when the page loads for the first time