changed to phonegap 3.0.0