PhoneGap Self-defense for Web Devs