Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars"
... jquery isn't reliably available; trying to do this with YUI instead

This reverts commit 1ef7460815cf99227caca156e87241be2d98a803.
when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI