added comments to scripts and web page