cleaning index.html file