component and jquery, add partial to header