This demo defines a simple asset dependency database for the jQuery and jQuery UI libraries - which it then uses to request the required scripts before doing some simple log operations.
Log messages will appear here.
View-source to learn how it's done, and use Firebug to inspect which <script />
s have been added to the <head>
block.
See also the documentation page for more information.