parent().parent().parent().parent()

Can't we just do parent('.my-ui-parent-container') instead?