Update lib/alerts.xsjslib fixes #34