Added comments to html and javascript