“switchEditors is not defined” with wp_editor() in jQuery UI tabs

I have tackled this by putting TinyMCE on the first tab, and making it a static tab, all others are still ajax, would still like it to be ajax, if anyone has any solutions.

<div id="tabs">
<ul id="wpsca_ul">
    <li><a href="#wpsca_addedit" title="add page"><?php echo __('Add Page','wpsca_lang');?></a></li>
    <li><a href="https://wordpress.stackexchange.com/questions/106799/<?php echo get_option("siteurl' ).'/?wpsca=wpscalist';?>" title="manage addedit"><?php echo __('Manage Pages','wpsca_lang');?></a></li>
    <li><a href="https://wordpress.stackexchange.com/questions/106799/<?php echo get_option("siteurl' ).'/?wpsca=wpscasettings';?>" title="manage settings"><?php echo __('Settings','wpsca_lang');?></a></li>
</ul>

<div id="wpsca_addedit">
< ? php wp_editor() coding ?>
</div>
<div id="manage_list" class="ui-tabs-hide">loading...</div>
<div id="manage_settings" class="ui-tabs-hide">loading...</div>
</div><!-- tabs -->