change to phonegap 3