Cleaning the index.html file