JSF AJAX update is basically removal of old DOM and addition of new one.
In richfaces.js, we also make sure, the component is properly initialized (contructor) and destroyed (destroy method).
Brian suggests to let new jQuery widget integration to clean up after themselves using jQuery.remove(elements) method.
The life-cycle hook needs to be coded into richfaces.js.
It might be event fired with payload containing which elements are going to be replaced.