Both the domReady
plugin and jQuery will detect if the page has already finished loading (i.e. if the DOMContentLoaded
event has already happened). In this case, they will execute their callbacks right away. I've used them and never had a case where my code waited forever.
So you don't have to worry that a slow connection will cause them to wait forever.
If you believe you have encountered a case where they would wait forever, then please provide the details to reproduce it.