Various fixes in alarms.js. (Issue #1)
Included alarms.js in index.html
Alarms.js also tries to use the plugin now (untested).
Failure sends a warning.