Move jQuery call in header