phonon-tts by Gradium: on-device speech. MIT or Apache-2.0
pdf.js by Mozilla: reading PDFs for audiobooks. Apache-2.0
lamejs, a JavaScript port of LAME: making MP3 files.
It is served unmodified as its own file, lame.min.js, so it can be replaced;
source on GitHub. LGPL-3.0