added documentation to index.html