added format to index.html.