Code quality improvments part 1

Changes for index.html. This is split across two commits because I need to learn to use git properly.