add JS for data-confirm