Update lib/alerts.xsjslib, fixes #5