added comments to indexJscript.js