Phonegap alarm plugin