Fail gracefully if PDF.js is not present
Use /src files in demo
Be careful with scope of 'self'
Inject essential CSS into the DOM directly