implemented cookie.js