Upgrade to phonegap 3