merge cordova and webapp codebase