- updatd package.json

- wrapped cordova-plugins in function incase we are in module mode