precompile and render lodash templates