Script tags are run (though not necessarily "downloaded")
sequentially. So as long as the script tag for the "library" is before
the call to the function in the "library" you shouldn't have any
problems.
For example, the following works:
<script src="somelibrary.js"><script>
<script>somelibraryfunction()</script>
However this won't work:
<script>somelibraryfunction()</script>
<script src="somelibrary.js"><script>
jQuery's $().ready shouldn't change the outcome.
If that doesn't solve the problem then you'll need to show a
non-working example.
Karl Rudd