They can be but don't need to be. Any javascript can be localized like HTML and CSS.
That's fair, but imagine trying to get the average reader up to speed with something like npm.