I know there are some ways to get notified when the page body has loaded (before all the images and 3rd party resources load which fires the window.onload e
Why not this:
If I understand things correctly, myInit is gonna get executed as soon as browser hit it in the page, which is last thing in a body.