refactored index.html