javascript: adding html examples