Every desktop of laptop OS I know of comes with at least one JavaScript interpreter installed.
The real problem is the growth of phones and tablets as preferred client devices; while the JS interpreter is still there, it becomes a challenge to enter and run the code.