Updating index.html to work largely as expected.