Rebuilds index.html.