Phonegap 2.7.0 to 3.1.0