Templating framework based on jsRazor rendering engine