Provide progress callback in new PDF.js style