Javascript isn't the biggest threat while browsing related to privacy.
Fingerprinting is the new data oil. U could only resist if u use more than one browser profiles
U can check it out here if ur fingerprint is unique it's an commercial company: www.fingerprinting.com