Update cookie-manager.js