first pass doc component
document component, pdf.js to core