Push pages sequentially instead of sorting
Use pdf.js's promises