I have installed a plugin in firefox that prevents a site sites from running scripts on your pc https://addons.mozilla.org/en-US/firefox/addon/722
After that you just enable to run scripts from sites you know. Teamcity pages appear a lot faster now After this the build server UI was running a lot faster on my pc.
I think teamcity has some scripts that firefox cannot handle well.