The document proposes an architecture called JOBAD that allows mathematical documents to interactively access web services. JOBAD uses JavaScript to integrate definition lookup, unit conversion, and other services directly into OMDoc-based documents. This allows readers to interactively adapt document appearance and access remote explanations and computations without leaving the document interface. Future plans include more interactive customization and linking documents to external search and information resources.