Update alerts.js