Huh? Your description isn't very clear so I'm surely reading you wrong, but you can't be really meaning to restart the whole browser after each JS toggle, right??
And enabling the Privacy Toolbar makes switching most easy, if button space is not a critical prob. Of course all buttons can be hidden except those you want to really keep (probably Toggle JS, Toggle Java, Clear Cache,
Forum:
General