$(document).ready() in a bundled script
I think you can use jQuery(document).ready() - Wait Until Exists
You should bundle your scripts according to your pages.
Lets say your homepage needs jquery, and some custom scripts. Bundle them together and reference this bundle.
For other pages like the profile page you bundle required scripts and reference it.