Save this to the namespace

FirefoxIM.Chat = 

Otherwise these vars are global. Chat appearing anywhere will reference this variable