firstly, thanks for the effort. We tested it on our system, and it seems to work fine.
Some time ago, we also tried using this PDF framework, but duketape couldn't handle it. Now it seems that you found a clever workaround by including the new JS features directly.
That helps us a lot, also in the way of knowing that we can use modern JS frameworks.