remove unused code in index.html