updated cookie.js docs