cleaning code and removing iframe