Generate PDF from HTML template in Node.js