javascript: add html example