Allow fake worker loader with namespaced bundling of PDF.js

Addresses #4177.