I have a normal JS file which sets 2 cookies. one of the cookies set looks like:
document.cookie = \'user=\' + hash + \'; expires=\' + new Date(new Date()