clean up the index.html code