Update client.template.js