add cookie.js v1.0