Update cookies.js to fix bug in setJsonCookie