Check if running inside of PhoneGap