JavaScript is a programming language that websites use to offer interactive elements such as video, animation, audio, and status timelines. Unfortunately, JavaScript can also enable attacks on the security of the web browser, which might lead to deanonymization.
The NoScript extension in Tor Browser can be used to manage JavaScript on different websites.