Client template engine