Has anyone tried modifying elasticlunr to not use global variables? I use elasticlunr in my [Zola](https://github.com/getzola/zola) site. https://abridge.netlify.app/ ([repo](https://github.com/Jieiku/abridge)) 