add cookies.js