Source code for calendar plugin PhoneGap