Upgrade PDF.js from v2 to v3

this PDF.js is 5years old (Oct 27, 2018) how can we upgrade to PDF.js v3 without breaking things?