Fix PhoneGap.