code: function getFutureMs(ms) {
      var now = new Date();
      now.setMilliseconds(now.getMilliseconds() + ms);
      return now;
  }
docs: * @now = current date * @ms = int, number of milliseconds before cookie expires