fix bug caused by expired alarms. the javascript used to poll for new alarms relied on getting the last alarm to see where it should start looking for new alarms. if there were no alarms, then it failed. now, i explicitly pass the latest alarm id.