Delay loading the JS for the onload event triggering.