improving website performance by dynamically loading javascript?
<p>I was wondering if this is something normally done or possible (I am a novice)
suppose you have kind of a heavy javascripted site. A web app page basically. What if part of the page is a mailbox... and the user doesn't necessarily use it right away. Could you possibly download the javascript that the mailbox requires after the page has loaded or maybe even as they need to use the mailbox?  I saw this from another question:</p>

<pre><code>$.getScript("my_lovely_script.js", function(){

alert("Script loaded and executed.");
</code></pre>
