javascript: adding html exmaples