Update js/m2.alerts.js fixes #34