Reorganize cordova and map shims.