Updated PhoneGap stuff