updating cordova lib dependency, additional fixes