Sample timer like application using PhoneGap.