Removed the alerts from js files