Changed phonegap version to 3.1