config to js, eslinting, leading comments removed
don't copy text if text already there