Re-writing index.html from the ground up