rm unnecessary code in index.html