Modified CheerUp for PhoneGap