change to phonegap