add example of event broadcasting in header js