Kind of minor thing but how about of moving this script tag before the one for the app.js script... Just in case in the future we use the alarms.js library from the app.js one :-)