adding base phonegap