HTML/CSS/JS Code Quality — 2026-07-05
Run ID: run-2026-07-05-cf70004b73 · 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-07-05.
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 | 64 | 67% |
| Drupal | 32 | 34% |
| jQuery UI | 30 | 32% |
| core-js | 29 | 31% |
| Bootstrap | 13 | 14% |
| Underscore | 8 | 8% |
| Modernizr | 7 | 7% |
| Lo-Dash | 7 | 7% |
| boomerang.js | 7 | 7% |
| Angular | 7 | 7% |
| React | 5 | 5% |
| Preact | 5 | 5% |
| Moment.js | 4 | 4% |
| Vue | 4 | 4% |
| WordPress | 3 | 3% |
| yepnope | 3 | 3% |
| Backbone | 3 | 3% |
| LitElement | 2 | 2% |
| lit-html | 2 | 2% |
| FlexSlider | 2 | 2% |
| RequireJS | 2 | 2% |
| Create React App | 1 | 1% |
| Hammer.js | 1 | 1% |
| Zurb | 1 | 1% |
| Material Design Lite | 1 | 1% |
| Prototype | 1 | 1% |
| Dojo | 1 | 1% |
| jQuery Tools | 1 | 1% |
| Handlebars | 1 | 1% |
| Gatsby | 1 | 1% |
| Highcharts | 1 | 1% |
| Leaflet | 1 | 1% |
| YUI 3 | 1 | 1% |
| Ember.js | 1 | 1% |
| Moment Timezone | 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 | 58 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Modernizr Moment.js |
| https://ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://pmc.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery core-js |
| https://pubmed.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | jQuery core-js |
| https://forecast.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://usps.com | 54 | — | ✗ (3) | — | — | Bootstrap jQuery core-js |
| https://irs.gov | 96 | — | ✗ (2) | — | — | jQuery jQuery UI Underscore Drupal |
| https://informeddelivery.usps.com | 50 | — | ✗ (1) | — | — | jQuery |
| https://secure.login.gov | 100 | — | ✓ | — | — | |
| https://weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://nps.gov | 96 | — | ✗ (1) | — | — | jQuery Modernizr core-js |
| https://pubchem.ncbi.nlm.nih.gov | 100 | — | ✓ | — | — | React core-js |
| https://radar.weather.gov | 100 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://ssa.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://studentaid.gov | 54 | — | ✗ (85) | — | — | Lo-Dash Angular boomerang.js Drupal |
| https://va.gov | 100 | — | ✓ | — | — | React core-js |
| https://cdc.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://secure.ssa.gov | 73 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://science.nasa.gov | 73 | — | ✗ (1) | — | — | jQuery jQuery UI React WordPress core-js |
| https://medlineplus.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Preact |
| https://travel.state.gov | 58 | — | ✓ | — | — | LitElement lit-html Preact Lo-Dash core-js |
| https://eric.ed.gov | 96 | — | ✓ | — | — | jQuery |
| https://ofac.treasury.gov | 92 | — | ✗ (1) | — | — | jQuery boomerang.js Drupal |
| https://myaccount.uscis.gov | 73 | — | ✗ (1) | — | — | Create React App |
| https://openi.nlm.nih.gov | 96 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Hammer.js core-js |
| https://usajobs.gov | 100 | — | ✓ | — | — | |
| https://uscis.gov | 73 | — | ✗ (1) | — | — | jQuery Drupal |
| https://justice.gov | 73 | — | ✗ (33) | — | — | jQuery Drupal |
| https://egov.uscis.gov | 96 | — | ✗ (3) | — | — | |
| https://reg.usps.com | 92 | — | ✗ (1) | — | — | Bootstrap jQuery |
| https://clinicaltrials.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://tsp.gov | 100 | — | ✓ | — | — | Bootstrap jQuery |
| https://sec.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://nasa.gov | 73 | — | ✗ (1) | — | — | jQuery jQuery UI WordPress core-js |
| https://earthquake.usgs.gov | 92 | — | ✗ (1) | — | — | |
| https://ais.usvisa-info.com | 100 | — | ✓ | — | — | Zurb jQuery jQuery UI Moment.js |
| https://ecfr.gov | 92 | — | ✗ (1) | — | — | |
| https://fda.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Underscore Drupal |
| https://esta.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Angular Material Design Lite core-js |
| https://preview.ncbi.nlm.nih.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore core-js |
| https://marine.weather.gov | 85 | — | ✗ (2) | — | — | jQuery jQuery UI |
| https://www.va.gov | 100 | — | ✓ | — | — | React core-js |
| https://cpsc.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Lo-Dash FlexSlider Drupal |
| https://about.usps.com | 69 | — | ✗ (1) | — | — | Bootstrap jQuery core-js |
| https://spc.noaa.gov | 46 | — | ✓ | — | — | jQuery Prototype |
| https://heasarc.gsfc.nasa.gov | 100 | — | ✓ | — | — | |
| https://my.uscis.gov | 77 | — | ✓ | — | — | jQuery |
| https://consumerfinance.gov | 100 | — | ✓ | — | — | LitElement lit-html |
| https://home.treasury.gov | 92 | — | ✓ | — | — | jQuery jQuery UI boomerang.js Drupal |
| https://urs.earthdata.nasa.gov | 92 | — | ✗ (3) | — | — | jQuery jQuery UI Modernizr yepnope |
| https://tsa.gov | 73 | — | ✗ (2) | — | — | jQuery jQuery UI Drupal |
| https://medicare.gov | 54 | — | ✓ | — | — | jQuery jQuery UI core-js Drupal |
| https://nhc.noaa.gov | 96 | — | ✓ | — | — | |
| https://dea.gov | 54 | — | ✗ (3) | — | — | jQuery Modernizr Lo-Dash core-js Drupal |
| https://archives.gov | 77 | — | ✓ | — | — | jQuery Drupal |
| https://gsaadvantage.gov | 88 | — | ✗ (1) | — | — | Angular core-js |
| https://store.usps.com | 50 | — | ✗ (2) | — | — | Dojo Modernizr RequireJS core-js |
| https://nhtsa.gov | 50 | — | ✗ (1) | — | — | jQuery jQuery UI core-js Drupal |
| https://bls.gov | 92 | — | ✓ | — | — | Bootstrap jQuery jQuery Tools |
| https://faq.usps.com | 77 | — | ✓ | — | — | |
| https://tsdr.uspto.gov | 96 | — | ✓ | — | — | jQuery jQuery UI Underscore |
| https://usa.gov | 100 | — | ✓ | — | — | jQuery Drupal |
| https://federalregister.gov | 100 | — | ✓ | — | — | |
| https://aviationweather.gov | 100 | — | ✓ | — | — | |
| https://ustraveldocs.com | 96 | — | ✓ | — | — | Lo-Dash Vue core-js |
| https://usda.gov | 100 | — | ✓ | — | — | jQuery Backbone Underscore Drupal |
| https://noaa.gov | 92 | — | ✗ (1) | — | — | jQuery Handlebars Drupal |
| https://acis.eoir.justice.gov | 58 | — | ✓ | — | — | React Gatsby |
| https://fdic.gov | 54 | — | ✓ | — | — | jQuery Moment.js boomerang.js Drupal |
| https://ttp.cbp.dhs.gov | 92 | — | ✓ | — | — | Bootstrap jQuery Angular |
| https://cbp.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://preview-forecast.weather.gov | — | — | — | — | — | |
| https://epa.gov | 96 | — | ✓ | — | — | jQuery core-js Drupal |
| https://www.usajobs.gov | 100 | — | ✓ | — | — | |
| https://metoc.navy.mil | — | — | — | — | — | |
| https://apod.nasa.gov | — | — | — | — | — | |
| https://accessdata.fda.gov | — | — | — | — | — | |
| https://cms.gov | 73 | — | ✓ | — | — | jQuery jQuery UI Preact Drupal |
| https://waterdata.usgs.gov | 100 | — | ✓ | — | — | |
| https://spaceweather.gov | 92 | — | ✗ (1) | — | — | Highcharts jQuery jQuery UI Drupal |
| https://login.gov | 100 | — | ✓ | — | — | |
| https://nsopw.gov | 96 | — | ✓ | — | — | jQuery Drupal |
| https://i94.cbp.dhs.gov | 96 | — | ✓ | — | — | Angular core-js |
| https://osha.gov | 88 | — | ✗ (5) | — | — | jQuery Modernizr yepnope Drupal |
| https://sba.gov | 100 | — | ✓ | — | — | jQuery core-js Drupal |
| https://state.gov | 54 | — | ✗ (1) | — | — | jQuery Backbone Underscore Vue WordPress core-js |
| https://fbi.gov | 81 | — | ✓ | — | — | Bootstrap jQuery Backbone Leaflet Underscore RequireJS FlexSlider core-js |
| https://nhlbi.nih.gov | 77 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://cancer.gov | 100 | — | ✓ | — | — | |
| https://ftc.gov | 92 | — | ✗ (14) | — | — | jQuery jQuery UI Drupal |
| https://usgs.gov | 100 | — | ✓ | — | — | jQuery jQuery UI Drupal |
| https://fdrlibrary.org | 77 | — | ✗ (1) | — | — | jQuery YUI 3 |
| https://water.noaa.gov | 96 | — | ✗ (2) | — | — | |
| https://dol.gov | 58 | — | ✓ | — | — | jQuery jQuery UI Modernizr yepnope boomerang.js Drupal |
| https://uspto.gov | 77 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Preact Drupal |
| https://llis.nasa.gov | 92 | — | ✗ (2) | — | — | jQuery Ember.js |
| https://reporter.nih.gov | 96 | — | ✗ (1) | — | — | Preact Lo-Dash core-js |
| https://ndbc.noaa.gov | 92 | — | ✗ (2) | — | — | |
| https://war.gov | 81 | — | ✓ | — | — | Bootstrap jQuery jQuery UI Vue Moment.js Moment Timezone |
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.