It’s often in comments in the JS file(s) – sometimes with the licenses quoted entirely and sometimes in a form abbreviated by an automated code packer. Probably a lot of sites aren’t actually compliant with the terms of the licenses doing things that way, but IANAL.