isPhoneGap detect