migrate to phonegap 2.9