cookie starting code in cookies.js file