clean and refactor addthis