Serve data.js endpoint.