Cross-application route pooling, javascript URL helpers and CORS configuration