edit cookie.js