fix index page to handle table formatting

* added comments to index page.