A lot of the simpler anonymity issues with javascript are protected from by TorButton. The remaining concern about javascript is that it can be used by an attacker to exploit vulnerabilities in your browser. Not having javascript enabled makes it harder for hackers to pwn you through your browser.