Removed alert from js file