removed alert from js