use query ajax method to inject header/footer html