Extract transactions from a bank statement using nodejs, lodash and pdf.js