begin client side template rendering