It's still baffling that most people don't realise this and browse the web with JavaScript completely unrestricted. Whether you're into cryptocurrencies or not, it's a security threat in general. If you make use of traditional online banking, or doing anything even remotely financially sensitive, there's no way in hell you should be allowing JavaScript carte-blanche across the internet. Just grab a reputable browser extension which allows you to select which of the websites you visit are permitted to run scripts and everything else will be blocked by default. Even if you think the website itself can be trusted, many sites have scripts from other sources running in the background. These can be perfectly legitimate and are commonly used for displaying multimedia content. But they can also be malicious and infect your device. Why take the risk?
NoScript is a very important security tool, but it doesn't prevent all the possible attacks, because users frequently turn on scripts, since most sites rely on it to display their content.
I'm not a security expert, but I think isolation is the strongest security practice - people who are dealing with very critical information (like Bitcoin private keys) should do so on separate, dedicated and when possible - airgapped machines that are used only for those sensitive operations and nothing else. $200-300 is a very reasonable price for protecting dozens or hundreds of dollars worth of value, but sadly some people, like the user that posted here earlier, think that it's enough to just run an antivirus and not download suspicious software.