Update pages.alerts.md

fix a tiny error on js code