help - blueimp jquery upload widget partially overwritten by appended view

help - blueimp jquery upload widget partially overwritten by appended view

I am using codeigniter 2.1 along with the blueimp jquery upload plugin.  I am now trying to use the plugin as part of a dynamically generated page, made up of several views.

To do this my controller contains the following:

$this->load->view('blue_view_widget'); // the file upload view
$this
->load->view('form'); // a form

I now see that the template-upload and template-download table (which is generated by javascript) is overwritten by the html from the form view. I'm thinking ( maybe incorrectly ) that the html from the second view is echo'ed out before the javascript has time to dynamically generate the table at the bottom of the view. How can I fix this ?

http://pastebin.com/qxZ52S1J

Thank you,

Bill