Share server-side state with the client-side of an Express app via JavaScript.