fix some missed removals when testing was deselected.
only use jbot when we have a browser layer (i.e. a profile)