one code base for cordova mobile app