Update index.html

Fix typos and reduced scope.