Update cookie.js