Alarm plugin for phonegap