added all of phonegap