added documentation on how to add extracted comments in html and javascript