Intends to replace the use of the ugly, non-performant <script> tag with a flexible and performance-optimized alternative API.
For instance, the following "<script> tag soup":
<script src="http://remote.tld/jquery.js"></script>
<script src="local/plugin1.jquery.js"></script>
<script src="local/plugin2.jquery.js"></script>
<script src="local/init.js"></script>
<script>
initMyPage();
</script>
With JLB it becomes:
<script src="JLB.js"></script>
<script>
$JLB
.script("http://remote.tld/jquery.js")
.wait()
.script("/local/plugin1.jquery.js")
.script("/local/plugin2.jquery.js")
.wait()
.script("/local/init.js")
.wait(function () {
initMyPage();
});
</script>