changed to use older (supported) version of phonegap