add cordova library for PhoneGap framework