I have a main page that has a couple of requires.

In one of those requires, I want to trigger a javascript onload. Is there any code to trigger a javascript on load, without adding it at the opening <body> tag?

Thanks
HoraShadow