Update js by removing the alerts