Using cordova js that includes common plugins