Modified index.html to templated file