HTML/CSS/JS Code Quality — 2026-05-09
Run ID: run-2026-05-09-9ad754fdd8 · 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 90 successfully scanned URLs on 2026-05-09.
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 | 72% |
| Drupal | 34 | 38% |
| jQuery UI | 26 | 29% |
| core-js | 26 | 29% |
| Bootstrap | 16 | 18% |
| Angular | 8 | 9% |
| Lo-Dash | 7 | 8% |
| Moment.js | 6 | 7% |
| boomerang.js | 6 | 7% |
| Underscore | 5 | 6% |
| React | 5 | 6% |
| Vue | 4 | 4% |
| Modernizr | 4 | 4% |
| LitElement | 4 | 4% |
| lit-html | 4 | 4% |
| FlexSlider | 3 | 3% |
| Preact | 3 | 3% |
| WordPress | 2 | 2% |
| Google Maps | 2 | 2% |
| Hammer.js | 2 | 2% |
| RequireJS | 2 | 2% |
| Gatsby | 2 | 2% |
| yepnope | 2 | 2% |
| Backbone | 2 | 2% |
| Moment Timezone | 1 | 1% |
| Create React App | 1 | 1% |
| Zurb | 1 | 1% |
| YUI 3 | 1 | 1% |
| jQuery Tools | 1 | 1% |
| Material Design Lite | 1 | 1% |
| Dojo | 1 | 1% |
| ScrollMagic | 1 | 1% |
| Prototype | 1 | 1% |
| Handlebars | 1 | 1% |
| Leaflet | 1 | 1% |
| Mustache | 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 | — | — | — | — | — | |
| https://ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://pmc.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://war.gov | 81 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Vue Moment.js Moment Timezone |
| https://pubmed.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://usps.com | 54 | — | ✗ (3) | — | — | Bootstrap jQuery core-js |
| https://irs.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://secure.login.gov | 100 | — | ✓ | — | — | |
| https://informeddelivery.usps.com | 50 | — | ✗ (1) | — | — | jQuery |
| https://forecast.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://va.gov | 100 | — | ✓ | — | — | React core-js |
| https://ssa.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://secure.ssa.gov | — | — | — | — | — | |
| https://studentaid.gov | 54 | — | ✗ (70) | — | — | Lo-Dash Angular boomerang.js Drupal |
| https://weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://nps.gov | 100 | — | ✓ | — | — | jQuery Modernizr core-js |
| https://travel.state.gov | 50 | — | ✗ (2) | — | — | Bootstrap LitElement lit-html jQuery jQuery UI Lo-Dash core-js |
| https://usajobs.gov | 100 | — | ✓ | — | — | |
| https://medlineplus.gov | 96 | — | ✓ | — | — | jQuery jQuery UI |
| https://justice.gov | 73 | — | ✗ (23) | — | — | jQuery Drupal |
| https://uscis.gov | 73 | — | ✗ (3) | — | — | jQuery Drupal |
| https://science.nasa.gov | 77 | — | ✓ | — | — | jQuery jQuery UI React WordPress core-js |
| https://ecfr.gov | 100 | — | ✓ | — | — | |
| https://myaccount.uscis.gov | 73 | — | ✗ (1) | — | — | Create React App |
| https://nasa.gov | — | — | — | — | — | |
| https://tsp.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://www.va.gov | 100 | — | ✓ | — | — | React core-js |
| https://ofac.treasury.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://radar.weather.gov | 100 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://osti.gov | — | — | — | — | — | |
| https://reg.usps.com | 92 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://egov.uscis.gov | 96 | — | ✗ (3) | — | — | |
| https://sec.gov | 100 | — | ✓ | — | — | jQuery Moment.js Drupal |
| https://pubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://fda.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://ais.usvisa-info.com | 100 | — | ✓ | — | — | Zurb jQuery jQuery UI Moment.js |
| https://nhlbi.nih.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://medicare.gov | 54 | — | ✓ | — | — | jQuery jQuery UI core-js Drupal |
| https://apod.nasa.gov | 100 | — | ✓ | — | — | |
| https://globe.gov | 88 | — | ✓ | — | — | Bootstrap LitElement lit-html Google Maps jQuery jQuery UI YUI 3 Moment.js |
| https://bls.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery Tools |
| https://my.uscis.gov | 77 | — | ✓ | — | — | jQuery |
| https://consumerfinance.gov | 77 | — | ✓ | — | — | LitElement lit-html |
| https://usda.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://be-md.ncbi.nlm.nih.gov | — | — | — | — | — | |
| https://enviro.epa.gov | 88 | — | ✗ (2) | — | — | jQuery core-js Drupal |
| https://clinicaltrials.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://cpsc.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Lo-Dash FlexSlider Drupal |
| https://fns.usda.gov | 92 | — | ✗ (1) | — | — | jQuery jQuery UI Drupal |
| https://esta.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Material Design Lite core-js |
| https://earthquake.usgs.gov | 96 | — | ✓ | — | — | |
| https://tsa.gov | 73 | — | ✗ (2) | — | — | jQuery jQuery UI Drupal |
| https://cms.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Preact Drupal |
| https://home.treasury.gov | 92 | — | ✓ | — | — | jQuery jQuery UI boomerang.js Drupal |
| https://www.usajobs.gov | 100 | — | ✓ | — | — | |
| https://openi.nlm.nih.gov | 96 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Hammer.js core-js |
| https://usa.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://sam.gov | 92 | — | ✓ | — | — | jQuery Lo-Dash Angular Drupal |
| https://ustraveldocs.com | 96 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://nsopw.gov | 96 | — | ✓ | — | — | jQuery Drupal |
| https://store.usps.com | 50 | — | ✗ (1) | — | — | jQuery Dojo Modernizr RequireJS core-js |
| https://epa.gov | 96 | — | ✓ | — | — | jQuery core-js Drupal |
| https://nhtsa.gov | 50 | — | ✗ (1) | — | — | jQuery jQuery UI core-js Drupal |
| https://archives.gov | 81 | — | ✓ | — | — | jQuery Drupal |
| https://ornl.gov | 96 | — | ✗ (1) | — | — | jQuery ScrollMagic FlexSlider Drupal |
| https://acis.eoir.justice.gov | 77 | — | ✓ | — | — | React Gatsby |
| https://aaro.mil | — | — | — | — | — | |
| https://search.usa.gov | — | — | — | — | — | |
| https://cbp.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://aviationweather.gov | 100 | — | ✓ | — | — | |
| https://spc.noaa.gov | 65 | — | ✓ | — | — | jQuery Prototype |
| https://healthcare.gov | 73 | — | ✗ (1) | — | — | Gatsby |
| https://faq.usps.com | 77 | — | ✓ | — | — | |
| https://about.usps.com | 88 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://osha.gov | 88 | — | ✗ (5) | — | — | jQuery Modernizr yepnope Drupal |
| https://dol.gov | 77 | — | ✓ | — | — | jQuery jQuery UI Modernizr yepnope boomerang.js Drupal |
| https://state.gov | 54 | — | ✗ (1) | — | — | jQuery Backbone Underscore Vue WordPress core-js |
| https://accessdata.fda.gov | — | — | — | — | — | |
| https://noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Handlebars Drupal |
| https://army.mil | — | — | — | — | — | |
| https://federalregister.gov | 100 | — | ✓ | — | — | |
| https://login.gov | 100 | — | ✓ | — | — | |
| https://webbook.nist.gov | 73 | — | ✗ (1) | — | — | jQuery |
| https://portal.cms.gov | 69 | — | ✗ (2) | — | — | Bootstrap jQuery Angular Hammer.js core-js |
| https://ttp.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery Angular |
| https://uspto.gov | 77 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Preact Drupal |
| https://opm.gov | 73 | — | ✗ (2) | — | — | jQuery core-js |
| https://fs.usda.gov | 88 | — | ✗ (2) | — | — | jQuery Drupal |
| https://fbi.gov | 77 | — | ✓ | — | — | Bootstrap jQuery Backbone Leaflet Underscore RequireJS FlexSlider core-js |
| https://ncei.noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Drupal |
| https://fdic.gov | 54 | — | ✓ | — | — | jQuery Moment.js boomerang.js Drupal |
| https://i94.cbp.dhs.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://cnsb.usps.com | 92 | — | ✗ (6) | — | — | Lo-Dash core-js |
| https://time.gov | 77 | — | ✓ | — | — | jQuery |
| https://acquisition.gov | 92 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://gsa.gov | 92 | — | ✗ (2) | — | — | LitElement lit-html Google Maps jQuery Preact Mustache Moment.js Drupal |
| https://cancer.gov | 100 | — | ✓ | — | — | |
| https://ipps-a.army.mil | 81 | — | ✓ | — | — | Bootstrap jQuery jQuery UI |
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.