adding phonegap lib