Middleware for the project monitor in-browser client.