code: function (sKey) {
        return decodeURI(document.cookie.replace(new RegExp('(?:(?:^|.*;)\\s*' + encodeURI(sKey).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$'), '$1')) || null;
      }
docs: Read a cookie. If the cookie doesn't exist a null value will be returned.
  
  ### Syntax
  
  Cookies.getItem(name)
  
  ### Example usage
  
  Cookies.getItem('test1');
  Cookies.getItem('test5');
  Cookies.getItem('test1');
  Cookies.getItem('test5');
  Cookies.getItem('unexistingCookie');
  Cookies.getItem();
  
  ### Parameters
  
  @param sKey - name - the name of the cookie to read (string).
  @returns {string|null}