Fix erase method

One tiny change, For erase to allow you to repaint- all the svg
elements need to be removed so the DOM is as before you painted.