external_endpoints.js