sweet alert js initialized