removed alert in js file