cleaning up sweetalert crap