title: jQuery.ui.draggable.js and jQuery.ui.widget.js conflict
body: <p>I had a working application, which uses a jquery ui dialog. I wanted to make the dialog draggable. As far as I know the only thing needed is the jquery.ui.draggable.js script. So I added it to the scripts I am using, but know I get the following error (as shown in the firebug console): base is not a constructor
  The relevante line in jquery.ui.widget.js is:</p>
  
  <pre><code>var basePrototype = new base(); 
  </code></pre>
  
  <p>This is how I am adding all the scripts:</p>
  
  <pre><code>&lt;script type="text/javascript" src="/media/development-bundle/jquery-1.4.2.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.core.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.widget.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.draggable.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.position.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.autocomplete.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/media/development-bundle/ui/jquery.ui.dialog.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Am I doing something wrong? or is this a problem with jquery?</p>
  
  <p>Thanks in advance for any help</p>