started to build a CDV object to call cordova api like CDV.notification.vibrate(200) etc