changed to phonegap 2.5