a little cleanup and documentation in index.html