Add JS file to load at this document's header.

def add_jsfile_head(self, src: str) -> None:
        """Add JS file to load at this document's header."""
        self.head.appendChild(Script(src=src))