modeif cookie.js