Anyone using Firefox 3.5.x(yes, it happens in 3.5.7 as well) and experiencing the glitch where incoming messages in Facebook chat cause the browser to lag, I think I’ve got a solution for you.
Enter “about:config” in the address bar, find the entry “javascript.options.jit.content” and change it from true to false by double More >