title: JsPlumb - Endpoints do not refresh position when used on draggable element
body: <p>I started using <a href="http://code.google.com/p/jsplumb/" rel="nofollow">jsPlumb</a> and JQuery, I want to connect draggable elements but if I add the 
  draggable behavior before the connection then the connection does not refresh position.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html4/loose.dtd"&gt;
      &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;&lt;/title&gt;
  
          &lt;style type="text/css"&gt;
              .window {
                  background-color: white;
                  border: 3px solid #346789;
                  color: black;
                  font-family: helvetica;
                  font-size: 0.8em;
                  height: 12em;
                  opacity: 0.8;
                  padding: 0.5em;
                  position: absolute;
                  width: 14em;
                  z-index: 20;
              }
          &lt;/style&gt;
  
          &lt;script type="text/javascript" src="jquery.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="jquery-ui.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="jquery.jsPlumb-1.3.2-all-min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
      &lt;div&gt;
          &lt;div id="a" class="a window" style="width: 100px;height: 100px;border: solid 1px"&gt;&lt;/div&gt;
          &lt;div id="b" class="b window" style="width: 100px;height: 100px;border: solid 1px;"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
  
          $(document).ready(function() {
  
              $(".window").draggable();
  
              var a = $("#a");
              var b = $("#b");
              jsPlumb.connect({
                  source:a,
                  target:b,
                  connector:["Bezier",68],
                  endpoints:[
                      ["Dot",{radius:12}],
                      ["Rectangle",{width:20,height:30}]
                  ]
              });
          });
      &lt;/script&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>