title: Import javascript dynamically with jQuery?
body: <p>I'm trying to setup a widget framework using jQuery, so I need to import java script by parsing the widget's xhtml and including in the framework page. The problem is that this may lead to pollution of the namespace. Is it possible to load java script into a namespace at runtime? </p>
  
  <p>Perhaps there is some better method that I'm overlooking?</p>
  
  <p>Thanks,
  Pete</p>