Updated handler to render jade