Same result placing code in body. In addition I discovered that in the body, the plugin doesn’t load on some pages (can’t see a pattern). When logged in, the plugin loads on every page.