Exposes server route configuration with the client side via JavaScript.