Hi @ShruthiJ ,
It looks like you have some event handlers that have the following line lines:
var ele = jQuery(this);
var region = ele.attr('data-region') ? ele.attr('data-region') : ele.root().attr('id');
ele is equal to the current element the event was triggered on but
.root() is not a valid method in jQuery.
If you are trying to reach the parent of that element I would look at changing the line to:
var region = ele.attr('data-region') ? ele.attr('data-region') : ele.parent().attr('id');
Otherwise, I would recommend you raise a support ticket so that an engineer can help understand what you are trying to achieve here and help with providing a solution.