Using Cordova platform MoSync