change swweetalert to alert(because bug with IE)