upgrade to phonegap 3.0