title: alternatives to $( ".selector" ).tabs( "refresh" ); in jquery 1.5.2
body: <p>i am trying to add and remove tabs dynamically pretty much like this
  <a href="http://jqueryui.com/tabs/#manipulation" rel="nofollow">jquery dynamic tabs</a> except that i was 
   using jquery 1.5.2 . But the tab panels(div tags) are being added one after the other.i figured out that the problem is with the refresh call which was added in the newer versions of jquery. i tried using tabify after i read <a href="https://github.com/jquery/jquery-ui/commit/8b89febbbb4d2f13c67bc8ec406b68ff29da3a5a#diff-5ae536d539fcc724362960b3ada853edR129" rel="nofollow">this</a> and <a href="http://unwrongest.com/projects/tabify/" rel="nofollow">this</a>. but i got an error saying</p>
  
  <pre><code>Uncaught TypeError: Object [object Object] has no method 'tabify'
  </code></pre>
  
  <p>So is there any alternative to this?</p>