get rid of server-side templating