Delete the old map properly

includes deleting any layers, and the dom node before attempting to
create a new map. map.remove() seems to be a bit flakey