customize the jsalert and jsconfirm