Expose data as JSON endpoint and pull from HTML