unified the javascript on/off code; now it sends a signal that sets the color change of the address bar directly