code: function setCookie(cookieName, cookieValue, expDays) {
    var d = new Date();
    d.setTime(d.getTime() + expDays * 24 * 60 * 60 * 1000);
    var expires = 'expires=' + d.toUTCString();
    try {
      document.cookie = cookieName + '=' + cookieValue + '; Path=/; ' + expires;
    } catch (e) {
      _logger2.default.warn({
        description: 'Cookie cannot be set because browser is not capable.',
        cookieName: cookieName, func: 'setCookie', obj: 'cookiesUtil'
      });
    }
  }
docs: @description Sets cookie at domain's root path.
  
  @param {String} cookieName - cookie name
  @param {String} cookieValue - cookie value
  @param {Integer} expDays - expiration day(s)