Updated README, added comments to JS and index.html