HTML/CSS/JS Code Quality — 2026-03-31
Run ID: run-2026-03-31-b6543bebcb · Status: success · ← 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 100 successfully scanned URLs on 2026-03-31.
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 | 72 | 72% |
| Drupal | 38 | 38% |
| jQuery UI | 28 | 28% |
| core-js | 28 | 28% |
| Bootstrap | 18 | 18% |
| Modernizr | 10 | 10% |
| Underscore | 9 | 9% |
| boomerang.js | 8 | 8% |
| Lo-Dash | 7 | 7% |
| React | 6 | 6% |
| Angular | 6 | 6% |
| yepnope | 5 | 5% |
| WordPress | 4 | 4% |
| Moment.js | 4 | 4% |
| Vue | 3 | 3% |
| LitElement | 2 | 2% |
| lit-html | 2 | 2% |
| Gatsby | 2 | 2% |
| RequireJS | 2 | 2% |
| Leaflet | 2 | 2% |
| Backbone | 2 | 2% |
| FlexSlider | 2 | 2% |
| Create React App | 1 | 1% |
| Material Design Lite | 1 | 1% |
| Zurb | 1 | 1% |
| jQuery Tools | 1 | 1% |
| Dojo | 1 | 1% |
| Prototype | 1 | 1% |
| AmplifyJS | 1 | 1% |
| Handlebars | 1 | 1% |
| Next.js | 1 | 1% |
| D3 | 1 | 1% |
| SWFObject | 1 | 1% |
| Preact | 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://tools.usps.com | 96 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Modernizr |
| 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://irs.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://forecast.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://urs.earthdata.nasa.gov | 92 | — | ✗ (3) | — | — | jQuery jQuery UI Modernizr yepnope |
| https://usps.com | 54 | — | ✗ (3) | — | — | Bootstrap jQuery core-js |
| https://secure.login.gov | 100 | — | ✓ | — | — | |
| https://informeddelivery.usps.com | 50 | — | ✗ (1) | — | — | jQuery |
| https://pubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://ssa.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://nps.gov | 100 | — | ✓ | — | — | jQuery Modernizr core-js |
| https://weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://studentaid.gov | 54 | — | ✗ (285) | — | — | Lo-Dash Angular boomerang.js Drupal |
| https://cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://secure.ssa.gov | 73 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://va.gov | 100 | — | ✓ | — | — | React core-js |
| https://travel.state.gov | 50 | — | ✗ (2) | — | — | Bootstrap LitElement lit-html jQuery jQuery UI Lo-Dash core-js |
| https://medlineplus.gov | 96 | — | ✓ | — | — | jQuery jQuery UI |
| https://fs.usda.gov | 88 | — | ✗ (2) | — | — | jQuery Drupal |
| https://justice.gov | 73 | — | ✗ (28) | — | — | jQuery Drupal |
| https://webbook.nist.gov | 73 | — | ✗ (1) | — | — | jQuery |
| https://tsa.gov | 73 | — | ✗ (2) | — | — | jQuery jQuery UI Drupal |
| https://nasa.gov | 73 | — | ✗ (1) | — | — | jQuery WordPress |
| https://uscis.gov | 73 | — | ✗ (3) | — | — | jQuery Drupal |
| https://myaccount.uscis.gov | 73 | — | ✗ (1) | — | — | Create React App |
| https://usajobs.gov | 100 | — | ✓ | — | — | |
| https://sec.gov | 100 | — | ✓ | — | — | jQuery Moment.js Drupal |
| https://esta.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Material Design Lite core-js |
| https://reg.usps.com | 92 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://ceac.state.gov | 46 | — | ✗ (38) | — | — | |
| https://egov.uscis.gov | 96 | — | ✗ (3) | — | — | |
| https://consumerfinance.gov | 77 | — | ✓ | — | — | LitElement lit-html |
| https://fda.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://radar.weather.gov | 100 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://science.nasa.gov | 96 | — | ✓ | — | — | jQuery jQuery UI React WordPress core-js |
| https://ais.usvisa-info.com | 100 | — | ✓ | — | — | Zurb jQuery jQuery UI Moment.js |
| https://ncei.noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Drupal |
| https://cbp.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://www.va.gov | 100 | — | ✓ | — | — | React core-js |
| https://fas.usda.gov | 100 | — | ✓ | — | — | jQuery core-js Drupal |
| https://my.uscis.gov | 77 | — | ✓ | — | — | jQuery |
| https://usa.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://dhs.gov | 54 | — | ✗ (1) | — | — | jQuery jQuery UI boomerang.js Drupal |
| https://bls.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery Tools |
| https://tsp.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://eric.ed.gov | 96 | — | ✓ | — | — | jQuery |
| https://medicare.gov | 54 | — | ✓ | — | — | jQuery jQuery UI core-js Drupal |
| https://nhlbi.nih.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://prevention.nih.gov | 73 | — | ✗ (2) | — | — | jQuery Lo-Dash Drupal |
| https://archives.gov | 81 | — | ✓ | — | — | jQuery Drupal |
| https://clinicaltrials.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://cisa.gov | 77 | — | ✓ | — | — | jQuery Drupal |
| https://healthcare.gov | 73 | — | ✗ (1) | — | — | Gatsby |
| https://store.usps.com | 50 | — | ✗ (1) | — | — | Bootstrap jQuery Dojo Modernizr RequireJS core-js |
| https://spc.noaa.gov | 65 | — | ✓ | — | — | jQuery Prototype |
| https://faa.gov | 81 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://earthquake.usgs.gov | 96 | — | ✓ | — | — | |
| https://nhtsa.gov | 54 | — | ✗ (1) | — | — | jQuery jQuery UI core-js Drupal |
| https://ttp.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery Angular |
| https://epa.gov | 96 | — | ✓ | — | — | jQuery core-js Drupal |
| https://coast.noaa.gov | 77 | — | ✗ (1) | — | — | jQuery Underscore |
| https://comptox.epa.gov | 96 | — | ✓ | — | — | jQuery core-js Drupal |
| https://home.treasury.gov | 96 | — | ✓ | — | — | jQuery jQuery UI boomerang.js Drupal |
| https://aviationweather.gov | 100 | — | ✓ | — | — | Leaflet |
| https://ecfr.gov | 100 | — | ✓ | — | — | Bootstrap jQuery Modernizr Underscore yepnope AmplifyJS Moment.js |
| https://sandia.gov | 88 | — | ✗ (2) | — | — | Bootstrap jQuery WordPress core-js |
| https://fdic.gov | 54 | — | ✓ | — | — | jQuery Moment.js boomerang.js Drupal |
| https://tsaenrollmentbyidemia.tsa.dhs.gov | 50 | — | ✗ (12) | — | — | Bootstrap jQuery Underscore core-js |
| https://fbi.gov | 77 | — | ✓ | — | — | Bootstrap jQuery Backbone Leaflet Underscore RequireJS FlexSlider core-js |
| https://noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Handlebars Drupal |
| https://acquisition.gov | 92 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://wpc.ncep.noaa.gov | 0 | — | — | — | — | |
| https://login.gov | 100 | — | ✓ | — | — | |
| https://osti.gov | 96 | — | ✓ | — | — | jQuery Drupal |
| https://ustraveldocs.com | 96 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://www.usajobs.gov | 100 | — | ✓ | — | — | |
| https://i94.cbp.dhs.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://history.state.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://ttp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery Angular |
| https://cancer.gov | 100 | — | ✓ | — | — | |
| https://army.mil | 0 | — | — | — | — | |
| https://tsaprecheckbyclear.tsa.dhs.gov | 58 | — | ✓ | — | — | React Next.js core-js |
| https://fws.gov | 92 | — | ✗ (3) | — | — | jQuery Modernizr Underscore yepnope boomerang.js Drupal |
| https://www.dol.gov | 77 | — | ✓ | — | — | jQuery jQuery UI Modernizr yepnope boomerang.js Drupal |
| https://careers.cbp.gov | 50 | — | ✗ (17) | — | — | core-js |
| https://usgs.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://census.gov | 46 | — | ✗ (1) | — | — | Bootstrap jQuery jQuery UI Modernizr Lo-Dash D3 SWFObject |
| https://dea.gov | 54 | — | ✗ (2) | — | — | jQuery Modernizr Lo-Dash core-js Drupal |
| https://founders3.upress.virginia.edu | 0 | — | — | — | — | |
| https://acis.eoir.justice.gov | 77 | — | ✓ | — | — | React Gatsby |
| https://sdwis.epa.gov | 88 | — | ✗ (2) | — | — | |
| https://nsf.gov | 96 | — | ✓ | — | — | jQuery Drupal |
| https://pmc-ncbi-nlm-nih-gov.translate.goog | 0 | — | — | — | — | |
| https://state.gov | 73 | — | ✗ (1) | — | — | jQuery Backbone Underscore Vue WordPress core-js |
| https://uspto.gov | 77 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Preact Drupal |
| https://americanenglish.state.gov | 92 | — | ✗ (1) | — | — | jQuery jQuery UI Modernizr yepnope FlexSlider Drupal |
| https://www.nist.gov | 81 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://energy.gov | 77 | — | ✓ | — | — | jQuery jQuery UI Drupal |
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.