repopulate index.html