Answers Integration - Issue with JS Snippet not appearing and showing duplicated header

Hi @roser -

I created an Answers experience and published my site to production. I attempted to integrate it in Codepen using JS Snippet and I am seeing odd behavior. The Search Results do not display and at times the header is repeated multiple times. The console shows the following error message:

Could you take a look at the issue here?

Thanks!
Alyssa