var cookie = require('cookie');

exports = module.exports = {
  set: function (key, value, options) {
    return document.cookie = cookie.serialize(key, value, options);
  },

  get: function (key) {
    return cookie.parse(document.cookie)[key];
  },

  remove: function (key, options) {
    var opts = options || {};
    opts.expires = new Date(0);

    return !!(document.cookie = cookie.serialize(key, '', opts));
  },

  /**
   * no-op for client
   *
   * @todo
   * throw warning instead of silently doing nothing
   */
  init: function() { }
};
@@ -270,27 +270,24 @@
 on (key, opt
-ion
 s) %7B%0A    var
@@ -283,20 +283,16 @@
 ) %7B%0A    
-var 
 opts = o
@@ -293,19 +293,16 @@
 ts = opt
-ion
 s %7C%7C %7B%7D;

Refactor to override variable value.