Refactored index.html