Better error message.
Updated pdf.js with better error handling support.