added util.js
added cookie class