add support for Phonegap 3.3.0