removed unused functions and whitespace
not going ahead with mutation
first example is working again
rendering using dom transactions