use phonegap 2.7 instead of 2.5