express middleware for supplying jade templates to the client