Added Example for DOM manipulation.
Refactor dom manipulation example.