PhoneGap Implementation for Reveal App