Add a private header for user-provided dom libs