HTML/CSS/JS Code Quality — 2026-10-01
Run ID: run-2026-10-01-76e1918ff3 · 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 95 successfully scanned URLs on 2026-10-01.
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 | 65 | 68% |
| Drupal | 33 | 35% |
| core-js | 30 | 32% |
| jQuery UI | 28 | 29% |
| Bootstrap | 15 | 16% |
| Modernizr | 9 | 9% |
| Angular | 9 | 9% |
| Lo-Dash | 8 | 8% |
| boomerang.js | 7 | 7% |
| Underscore | 6 | 6% |
| React | 6 | 6% |
| Moment.js | 5 | 5% |
| WordPress | 4 | 4% |
| Vue | 4 | 4% |
| yepnope | 4 | 4% |
| Preact | 3 | 3% |
| Gatsby | 2 | 2% |
| LitElement | 2 | 2% |
| lit-html | 2 | 2% |
| RequireJS | 2 | 2% |
| Backbone | 2 | 2% |
| Boq | 1 | 1% |
| Wiz | 1 | 1% |
| Create React App | 1 | 1% |
| Zurb | 1 | 1% |
| Material Design Lite | 1 | 1% |
| jQuery Tools | 1 | 1% |
| AmplifyJS | 1 | 1% |
| Dojo | 1 | 1% |
| Leaflet | 1 | 1% |
| FlexSlider | 1 | 1% |
| Hammer.js | 1 | 1% |
| Google Maps | 1 | 1% |
| Mustache | 1 | 1% |
| Handlebars | 1 | 1% |
| D3 | 1 | 1% |
| SWFObject | 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 | 54 | — | ✗ (1) | — | — | Bootstrap jQuery jQuery UI Modernizr Moment.js |
| https://pubmed.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://pmc.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://ncbi.nlm.nih.gov | 73 | — | ✗ (2) | — | — | jQuery jQuery UI Underscore Boq Wiz core-js |
| https://secure.login.gov | 92 | — | ✗ (1) | — | — | core-js |
| https://usps.com | 73 | — | ✗ (2) | — | — | Bootstrap jQuery core-js |
| https://forecast.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://informeddelivery.usps.com | 50 | — | ✗ (1) | — | — | jQuery |
| https://irs.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://va.gov | 96 | — | ✗ (4) | — | — | React core-js |
| https://studentaid.gov | 54 | — | ✗ (92) | — | — | Lo-Dash Angular boomerang.js Drupal |
| https://ssa.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://pubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://clinicaltrials.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://travel.state.gov | 96 | — | ✗ (3) | — | — | |
| https://weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://nhc.noaa.gov | 92 | — | ✓ | — | — | |
| https://secure.ssa.gov | 73 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://usajobs.gov | 96 | — | ✗ (1) | — | — | |
| https://apps-sefsc.fisheries.noaa.gov | 96 | — | ✗ (2) | — | — | jQuery Underscore Drupal |
| https://uscis.gov | 73 | — | ✗ (1) | — | — | jQuery Drupal |
| https://egov.uscis.gov | 96 | — | ✗ (3) | — | — | |
| https://nps.gov | 73 | — | ✗ (1) | — | — | jQuery Modernizr core-js |
| https://medlineplus.gov | 96 | — | ✓ | — | — | jQuery jQuery UI |
| https://myaccount.uscis.gov | 73 | — | ✗ (1) | — | — | Create React App |
| https://dea.gov | 73 | — | ✗ (3) | — | — | jQuery Modernizr Lo-Dash core-js Drupal |
| https://www.va.gov | 96 | — | ✗ (4) | — | — | React core-js |
| https://science.nasa.gov | 77 | — | ✓ | — | — | jQuery jQuery UI React WordPress core-js |
| https://sec.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://radar.weather.gov | 100 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://ofac.treasury.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://medicare.gov | 54 | — | ✓ | — | — | jQuery jQuery UI core-js Drupal |
| https://apod.nasa.gov | 100 | — | ✓ | — | — | jQuery jQuery UI React WordPress core-js |
| https://fdc.nal.usda.gov | 77 | — | ✓ | — | — | jQuery Angular |
| https://justice.gov | 73 | — | ✗ (1) | — | — | jQuery Drupal |
| https://nasa.gov | 96 | — | ✗ (1) | — | — | jQuery jQuery UI WordPress core-js |
| https://fda.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://urs.earthdata.nasa.gov | 92 | — | ✗ (3) | — | — | jQuery jQuery UI Modernizr yepnope |
| https://ais.usvisa-info.com | 100 | — | ✓ | — | — | Zurb jQuery jQuery UI Moment.js |
| https://heasarc.gsfc.nasa.gov | 100 | — | ✓ | — | — | |
| https://osha.gov | 88 | — | ✗ (6) | — | — | jQuery Modernizr yepnope Drupal |
| https://tsp.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://esta.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Material Design Lite core-js |
| https://reg.usps.com | 92 | — | ✗ (5) | — | — | Lo-Dash core-js |
| https://bls.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery Tools |
| https://preview-forecast.weather.gov | 85 | — | ✗ (10) | — | — | |
| https://my.uscis.gov | 77 | — | ✓ | — | — | jQuery |
| https://ecfr.gov | 100 | — | ✓ | — | — | Bootstrap jQuery Modernizr Underscore yepnope AmplifyJS Moment.js |
| https://acis.eoir.justice.gov | 58 | — | ✓ | — | — | React Gatsby |
| https://www.usajobs.gov | 96 | — | ✗ (1) | — | — | |
| https://waterdata.usgs.gov | 100 | — | ✓ | — | — | |
| https://home.treasury.gov | 100 | — | ✓ | — | — | boomerang.js |
| https://cms.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Preact Drupal |
| https://sam.gov | 92 | — | ✓ | — | — | jQuery Lo-Dash Angular Drupal |
| https://consumerfinance.gov | 100 | — | ✓ | — | — | LitElement lit-html |
| https://earthquake.usgs.gov | — | — | — | — | — | |
| https://nsopw.gov | 96 | — | ✓ | — | — | jQuery Drupal |
| https://store.usps.com | 50 | — | ✗ (3) | — | — | Dojo Modernizr RequireJS core-js |
| https://fbi.gov | 81 | — | ✓ | — | — | Bootstrap jQuery Backbone Leaflet Underscore RequireJS FlexSlider core-js |
| https://epa.gov | 96 | — | ✓ | — | — | jQuery core-js Drupal |
| https://federalregister.gov | 100 | — | ✓ | — | — | Bootstrap jQuery jQuery UI |
| https://archives.gov | 81 | — | ✓ | — | — | jQuery Drupal |
| https://tsa.gov | 73 | — | ✗ (2) | — | — | jQuery jQuery UI Drupal |
| https://usa.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://nhtsa.gov | 50 | — | ✗ (1) | — | — | jQuery jQuery UI core-js Drupal |
| https://faq.usps.com | 77 | — | ✓ | — | — | |
| https://opm.gov | 73 | — | ✗ (2) | — | — | jQuery core-js |
| https://healthcare.gov | 73 | — | ✗ (2) | — | — | Gatsby |
| https://ustraveldocs.com | 92 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://accessdata.fda.gov | — | — | — | — | — | |
| https://login.gov | 100 | — | ✓ | — | — | |
| https://ttp.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery Angular |
| https://ipps-a.army.mil | 81 | — | ✓ | — | — | Bootstrap jQuery jQuery UI |
| https://portal.cms.gov | 50 | — | ✗ (1) | — | — | Bootstrap jQuery Angular Hammer.js core-js |
| https://usgs.gov | — | — | — | — | — | |
| https://dol.gov | 58 | — | ✓ | — | — | jQuery jQuery UI Modernizr yepnope boomerang.js Drupal |
| https://cbp.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://i94.cbp.dhs.gov | 92 | — | ✗ (125) | — | — | Angular core-js |
| https://gsa.gov | 96 | — | ✗ (6) | — | — | LitElement lit-html Google Maps jQuery Preact Mustache Moment.js Drupal |
| https://fs.usda.gov | 92 | — | ✓ | — | — | jQuery Drupal |
| https://about.usps.com | 69 | — | ✗ (2) | — | — | Bootstrap jQuery core-js |
| https://cns.usps.com | 73 | — | ✗ (5) | — | — | Lo-Dash core-js |
| https://marine.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://army.mil | — | — | — | — | — | |
| https://dailymed.nlm.nih.gov | — | — | — | — | — | |
| https://uspto.gov | 77 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Preact Drupal |
| https://fdic.gov | 73 | — | ✓ | — | — | jQuery Moment.js boomerang.js Drupal |
| https://noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Handlebars Drupal |
| https://energy.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://ntrs.nasa.gov | 96 | — | ✗ (2) | — | — | Angular |
| https://faa.gov | 81 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://aviationweather.gov | 100 | — | ✓ | — | — | |
| https://cancer.gov | 100 | — | ✓ | — | — | |
| https://code.usgs.gov | 81 | — | ✓ | — | — | Bootstrap jQuery Vue core-js |
| https://nhlbi.nih.gov | 77 | — | ✓ | — | — | jQuery Drupal |
| https://state.gov | 96 | — | ✗ (1) | — | — | jQuery Backbone Underscore Vue WordPress |
| https://census.gov | 50 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Modernizr Lo-Dash D3 SWFObject |
| https://ftc.gov | 92 | — | ✗ (2) | — | — | jQuery jQuery UI Drupal |
| https://www.nist.gov | 58 | — | ✓ | — | — | 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.