Merge PDF in JavaScript: pdf-lib and PDF.js Explained