(Refactor) index.html code cleanup