Client-side templating library