FU Changes to join or leave a search

Modified the FU config page to be able to join or leave a search.  Moved
a lot of JS into the shared JS file as well.