upgrade plugin to cordova 3