Fixed template variables, added client charset