removed alert from JS file