move ga to end of head and move header to body and close head