PhoneGap adaptations