remove garbage code and links from footer and content