cleaning and updating index.html