Append all templates views in index.html body in script tag.