add data-uuid attribute in the ajax request and when dom removed,related scripts also removed.