added demo cordova becaon plugin code to app.js