made it work with jade view engine