Create cookies.js

set cookie and delete cookie