SaxonJS is an XSLT 3.0 processor written (mostly) in JavaScript.
It runs both in the browser and on Node.js