added jquery .on for alert-button