Loyalty Card PhoneGap Application