Revamped alarms in tracker.js. Interface regarding to new format in alarms.js. (partially tested - part2