Phonegap 3.0 Compatibility