clientside tpl render