testing JS alert, sweetalert too