Performance improvement. Separate the templates from the index and precompile them with JST.