A Rails confirm replacement with SweetAlert