move cordova plugin definition to plugins.json