PhoneGap 3.0 plugin