show header and footer after dom ready