I’m sure this has been known for a long time, but I’ve spent a bunch of hours figuring it out…
If you make xhtml documents, make sure that you close your <script src=”…” > tags with a closing </script> tag, and not with the shorthand <script src=”…” /> notation. Several browsers simply ignore the second case.