title: How to use JavaScript with gwt Uibinder
body: <p>I want to execute JavaScript in my application which is written with GWT.
  This is the code that works in a regular HTML:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;/li&gt;
        &lt;li&gt;&lt;/li&gt;
        &lt;li&gt;&lt;/li&gt;
        &lt;li&gt;&lt;/li&gt;
        &lt;li&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;script src="jquery.js"&gt;&lt;/script&gt;
      &lt;script src="jquery.roundabout.js"&gt;&lt;/script&gt;
      &lt;script&gt;
        $(document).ready(function() {
            $('ul').roundabout();
        });
      &lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>(Assume <code>jquery.js</code> and <code>jquery.roundabout.js</code> are in the same folder.)</p>
  
  <p>I have a <code>somePresenter</code> (with <code>someView.java</code> and <code>someView.ui.xml</code>) and I want the above code to work in the <code>someView.ui.xml</code>.</p>
  
  <p>I copy pasted the above code to the XML (except for <code>&lt;html&gt;</code> tag I have <code>&lt;g:HTMLPanel&gt;</code> tag)
  but the JavaScript doesn't seem to be executed (all I see is the list as it should be before the script).</p>
  
  <p>How can I make it work?</p>
  
  <p>Related question: can I some how use GQuery for this 
  (something like: GQuery.$().getScript(jquery.roundabout.js) to load external js script)?</p>
  
  <p>Thanks in advance</p>