Upgrade to phonegap3