How to Build a Browser-Based PDF Analyzer Using JavaScript