Babascript client implemented for cordova framework