simple example which shows how to add/remove nodes using a simple DOM appendChild()/removeChild() function
Dynamic childtree update