Getting alert to work on firefox.