deleted unnecessary copy of code in index.html