use sweetalert with timer