Remove swal.SetDefaults from global scope