convert to cordova plugin with install
convert to cordova plugin with install