Update index.html

Added documentation for the overall scope of the script