Change drupalgap_alert() to fallback to alert() if PhoneGap isn't present.