Added PhoneGap stuff