Only insert anchor if id doesn't exist

If my h1's already have id's and I want to use them as the anchorNames instead of #toc1, #toc2, etc, then we need to not insert a new element with the same id.

(I wasn't able to do the full build process. I did 'make install' but then there was no ./node_modules so I'm not sure where it installed smoosh.)