Implement CORS.
Move the /languages endpoint to /api/languages