HTML/CSS/JS Code Quality — 2026-04-07
Run ID: run-2026-04-07-0abd851aee · Status: partial · ← Back to full report
About Code Quality
This page surfaces HTML, CSS, and JavaScript code quality signals from Google Lighthouse's Best Practices category. These audits help identify technical debt, browser compatibility risks, and security vulnerabilities across the most-visited U.S. government websites.
- Deprecated APIs — Use of browser features (HTML/CSS/JS) that have been removed or scheduled for removal. These can break in current or future browsers and may indicate outdated code that relies on legacy browser behaviour.
- Console Errors — JavaScript runtime errors logged to the browser console during page load. These often indicate broken functionality or incompatible scripts.
- document.write — Use of the synchronous
document.write()API. This API blocks HTML parsing, harms performance, and is blocked in certain browser contexts (e.g. HTTP/2 push, cross-origin scripts). - Vulnerable Libraries — Front-end JavaScript libraries (e.g. jQuery, Bootstrap) with known CVE security vulnerabilities. Outdated libraries are a common vector for web security issues.
- JS Library Inventory — All client-side JavaScript libraries detected. Useful for understanding browser compatibility requirements: libraries with wide browser support indicate polyfills may be in use; newer APIs without polyfills may exclude users on older browsers.
All audits come from Lighthouse scanning 117 successfully scanned URLs on 2026-04-07.
Summary
Detected JavaScript Libraries
JavaScript libraries detected from network requests during Lighthouse scans. Library version data helps identify whether sites depend on libraries that require polyfills for older browsers, or conversely, rely on browser features that are not yet widely supported.
| Library | URLs | Share |
|---|---|---|
| jQuery | 76 | 65% |
| core-js | 31 | 26% |
| jQuery UI | 25 | 21% |
| Bootstrap | 25 | 21% |
| Drupal | 19 | 16% |
| React | 9 | 8% |
| Lo-Dash | 9 | 8% |
| Underscore | 8 | 7% |
| Angular | 7 | 6% |
| WordPress | 6 | 5% |
| Moment.js | 4 | 3% |
| Create React App | 4 | 3% |
| Next.js | 4 | 3% |
| Modernizr | 3 | 3% |
| D3 | 3 | 3% |
| AngularJS | 3 | 3% |
| LitElement | 3 | 3% |
| lit-html | 3 | 3% |
| Preact | 2 | 2% |
| boomerang.js | 2 | 2% |
| Hammer.js | 2 | 2% |
| WebFont Loader | 2 | 2% |
| Gatsby | 2 | 2% |
| Moment Timezone | 2 | 2% |
| Handlebars | 1 | 1% |
| SWFObject | 1 | 1% |
| yepnope | 1 | 1% |
| FlexSlider | 1 | 1% |
| Leaflet | 1 | 1% |
| Material Design Lite | 1 | 1% |
| Dojo | 1 | 1% |
| LABjs | 1 | 1% |
| Zepto.js | 1 | 1% |
Vulnerable Libraries
Libraries with known security vulnerabilities as reported by Lighthouse's no-vulnerable-libraries audit (powered by Snyk). Upgrading these libraries reduces security risk and may also improve browser compatibility and access to modern APIs.
No libraries with known vulnerabilities were detected.
Per-URL Code Quality Results
Code quality audit results for each scanned URL. Columns show the Lighthouse Best Practices score and pass ✓ / fail ✗ for each audit. Click any URL to open the live page.
| URL | Best Practices | Deprecated APIs | Console Errors | document.write | Vulnerable Libs | JS Libraries |
|---|---|---|---|---|---|---|
| https://pmc.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://pubmed.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://pubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://medlineplus.gov | 96 | — | ✓ | — | — | jQuery jQuery UI |
| https://clinicaltrials.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://fda.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://cms.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Preact Drupal |
| https://accessdata.fda.gov | 0 | — | — | — | — | |
| https://nih.gov | 96 | — | ✗ (1) | — | — | jQuery Drupal |
| https://hhs.gov | 96 | — | ✓ | — | — | jQuery boomerang.js Drupal |
| https://openi.nlm.nih.gov | 96 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Hammer.js core-js |
| https://acf.gov | 92 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://vsearch.nlm.nih.gov | 0 | — | — | — | — | |
| https://blast.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://dailymed.nlm.nih.gov | 85 | — | ✗ (4) | — | — | jQuery jQuery UI Modernizr |
| https://account.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://purplebooksearch.fda.gov | 92 | — | ✗ (1) | — | — | |
| https://wwwnc.cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://fdanj.nlm.nih.gov | 100 | — | ✓ | — | — | |
| https://nlm.nih.gov | 73 | — | ✗ (1) | — | — | |
| https://support.nlm.nih.gov | 54 | — | ✗ (4) | — | — | Bootstrap jQuery jQuery UI React Underscore Handlebars Moment.js core-js |
| https://wwwn.cdc.gov | 0 | — | — | — | — | |
| https://id.nlm.nih.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://search.cdc.gov | 96 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://hfpappexternal.fda.gov | 0 | — | — | — | — | |
| https://magazine.medlineplus.gov | 69 | — | ✗ (1) | — | — | jQuery core-js |
| https://wonder.cdc.gov | 96 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://direct.fda.gov | 77 | — | ✓ | — | — | jQuery jQuery UI Hammer.js |
| https://atsdr.cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://gis.cdc.gov | 77 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://meshb.nlm.nih.gov | 100 | — | ✓ | — | — | |
| https://archive.cdc.gov | 100 | — | ✓ | — | — | Create React App |
| https://www.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://precision.fda.gov | 92 | — | ✗ (5) | — | — | jQuery |
| https://npin.cdc.gov | 54 | — | ✗ (4) | — | — | jQuery Drupal |
| https://submit.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://lhncbc.nlm.nih.gov | 92 | — | ✓ | — | — | jQuery |
| https://register.clinicaltrials.gov | 92 | — | ✓ | — | — | jQuery core-js |
| https://uts.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery Lo-Dash Angular |
| https://access.fda.gov | 0 | — | — | — | — | |
| https://collections.nlm.nih.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://ncbiinsights.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery jQuery UI WordPress |
| https://blogs.cdc.gov | 96 | — | ✗ (4) | — | — | Bootstrap jQuery WordPress |
| https://trace.ncbi.nlm.nih.gov | 81 | — | ✓ | — | — | D3 core-js |
| https://nhlbi.nih.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://tools.cdc.gov | 92 | — | ✗ (2) | — | — | Bootstrap jQuery D3 AngularJS SWFObject |
| https://www.cdc.gov | — | — | — | — | — | |
| https://icd10cmtool.cdc.gov | — | — | — | — | — | |
| https://datadashboard.fda.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://gettested.cdc.gov | 100 | — | ✓ | — | — | Next.js |
| https://phgkb.cdc.gov | 65 | — | ✗ (15) | — | — | Bootstrap jQuery jQuery UI Modernizr Underscore yepnope D3 FlexSlider |
| https://catalog.nlm.nih.gov | 100 | — | ✓ | — | — | Lo-Dash AngularJS core-js |
| https://jats.nlm.nih.gov | 88 | — | ✗ (1) | — | — | jQuery jQuery UI Underscore core-js |
| https://reach.cdc.gov | 96 | — | ✗ (1) | — | — | jQuery jQuery UI Drupal |
| https://niddk.nih.gov | 96 | — | ✓ | — | — | jQuery |
| https://vaccines.gov | 0 | — | — | — | — | |
| https://nihms.nih.gov | 81 | — | ✓ | — | — | jQuery React core-js |
| https://thecommunityguide.org | 73 | — | ✓ | — | — | Bootstrap jQuery |
| https://jobs.cdc.gov | — | — | — | — | — | |
| https://nimh.nih.gov | 100 | — | ✓ | — | — | Bootstrap jQuery Drupal |
| https://phinvads.cdc.gov | — | — | — | — | — | |
| https://ndc.services.cdc.gov | — | — | — | — | — | |
| https://dbgap.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://circulatingnow.nlm.nih.gov | 96 | — | ✗ (1) | — | — | jQuery WebFont Loader WordPress |
| https://ninds.nih.gov | 92 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://nia.nih.gov | 0 | — | — | — | — | |
| https://wisqars.cdc.gov | 96 | — | ✗ (6) | — | — | Next.js Lo-Dash |
| https://profiles.nlm.nih.gov | 77 | — | ✓ | — | — | Bootstrap jQuery Leaflet |
| https://meshb-prev.nlm.nih.gov | 100 | — | ✓ | — | — | |
| https://dataview.ncbi.nlm.nih.gov | 96 | — | ✗ (3) | — | — | jQuery core-js |
| https://millionhearts.hhs.gov | 73 | — | ✓ | — | — | Bootstrap jQuery |
| https://mor.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery |
| https://nida.nih.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://cfmedicine.awsprod.nlm.nih.gov | 81 | — | ✗ (3) | — | — | jQuery |
| https://www2a.cdc.gov | 0 | — | — | — | — | |
| https://vsac.nlm.nih.gov | — | — | — | — | — | |
| https://vetoviolence.cdc.gov | — | — | — | — | — | |
| https://findingaids.nlm.nih.gov | 96 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://datasetcatalog.nlm.nih.gov | 100 | — | ✓ | — | — | core-js |
| https://nccih.nih.gov | 100 | — | ✓ | — | — | Lo-Dash Gatsby |
| https://learn.nlm.nih.gov | 92 | — | ✗ (14) | — | — | Bootstrap jQuery Modernizr Lo-Dash |
| https://hivrisk.cdc.gov | 69 | — | ✗ (7) | — | — | Bootstrap jQuery jQuery UI WordPress |
| https://nationaldppcsc.cdc.gov | — | — | — | — | — | |
| https://testpubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://selectagents.gov | — | — | — | — | — | |
| https://animaldrugsatfda.fda.gov | 92 | — | ✗ (1) | — | — | Bootstrap jQuery jQuery UI AngularJS Moment.js |
| https://niams.nih.gov | 81 | — | ✓ | — | — | jQuery Drupal |
| https://nccd.cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://nichd.nih.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://ncsacw.acf.gov | 96 | — | ✗ (1) | — | — | Gatsby |
| https://cde.nlm.nih.gov | 100 | — | ✓ | — | — | Lo-Dash Angular Material Design Lite |
| https://ephtracking.cdc.gov | 92 | — | ✗ (5) | — | — | jQuery Angular |
| https://labels.fda.gov | 65 | — | ✗ (2) | — | — | jQuery |
| https://niaaa.nih.gov | 77 | — | ✓ | — | — | jQuery Drupal |
| https://nlmdirector.nlm.nih.gov | 92 | — | ✓ | — | — | jQuery WebFont Loader WordPress core-js |
| https://yrbs-explorer.services.cdc.gov | 100 | — | ✓ | — | — | |
| https://nchsdata.cdc.gov | 0 | — | — | — | — | |
| https://places.cdc.gov | 100 | — | ✓ | — | — | React core-js |
Browser Compatibility Context
U.S. government websites should support the broadest possible range of users. This means:
- Avoid too-new APIs without polyfills — features only available in recent browser versions exclude users on older hardware or enterprise environments with locked browser versions.
- Avoid too-old APIs — deprecated or removed browser features may fail silently or cause errors in modern browsers.
- Use polyfills strategically — polyfills allow use of modern features with graceful fallback for older browsers, but unused polyfills add unnecessary page weight. Can I Use provides browser support data to determine when a polyfill can be removed.
- Keep libraries updated — updated libraries often include browser compatibility improvements and security patches.
The Deprecated APIs and Vulnerable Libraries audits above are the most actionable signals for improving browser compatibility and security on government websites.