periodicalupdater for jquery and registerScriptFile

I use the extension for periodicalupdater for jquery and I try to use the Yii::app()->clientScript->registerScriptFile but it seems not to work.Using plain javascript it is ok.

It is a problem using registerScriptFile or registerScript in a php that update a div of the page?

registerScriptFile generates the "include" HTML code… that is executed on first page load…

If your use that on an ajax call… then that "include" statement is in the ajax page… not in your page… so the JS file is not included