write index.html