Update for PhoneGap for Testing