added some comments to js file, small html changes