Prepare for PhoneGap