Phonegap upgrade from 2.9 to 3.1.0