jQuery Clone and Observe changes

jQuery Clone and Observe changes

Hi,
I have made a stickymenu which is clone of top menu header . which is visible on scroll after a certain limit.
The sub menu in the header loads by an ajax. so when user navigates on the sticky menu the original header does not change.

I need to clone again all the changed submenus into the original menu to keep both  menus same.

Hers is stackoverflow question link

I am looking a method which maps the changed  node to the cloned node

Thanks
B L Praveen