Move styles and script tags from body into head.