HOTFIX: Removed unused code about cookies in stateManager.js