clean up html graphs