code: function getUrlVars(string) {
    var vars = [],
      hash,
      hashes,
      str = string.toString();
  
    if (str.match('&#038;')) {
      str = str.replace("&#038;", "&");
    } else if (str.match('&#38;')) {
      str = str.replace("&#38;", "&");
    } else if (str.match('&amp;')) {
      str = str.replace("&amp;", "&");
    }
    if (str.match('#')) {
      str = str.split('#')[0];
    }
    hashes = str.slice(str.indexOf('?') + 1).split('&');
  
    for(var i = 0; i < hashes.length; i++) {
      hash = hashes[i].split('=');
      vars.push(hash[0]);
      vars[hash[0]] = hash[1];
    }
  
    return vars;
  }
docs: /* Configure timeline settings from website options
  ==================================================