Replaced my cookie manager with one from https://developer.mozilla.org/en-US/docs/Web/API/document.cookie
It's a lot better than the simple little setter/getter I wrote two years ago.