updating to phonegap 3.x