finalize Update to phonegap 3