code: function doSearch(){
  
      // Grab the search term from the input
      var term = document.getElementById('searchbox').value;
  
      var items = [];
  
      // Loop through all the files and rank them all
      for(var i = 0; i < fileList.length; i += 1){
        var f = fileList[i];
  
        // Split up the file name so we can grab the base name
        var parts = f.split('/');
  
        // This is the object that'll get passed to fuzzyScore
        var file = {
          fullPath: f,
          fileName: parts[parts.length - 1]
        };
  
        // Rank the file, primarily against the full path,
        // but if the file base name also matches, give it a
        // boost. 0.6 is a number that produces nice results
        var rank = fuzzyScore(file, term, {
          fullPath: 1,
          fileName: 0.6
        });
  
        // If the file scores positively against the search, add it in
        if(rank > 0){
          file.highlight = rank.highlights;
          file.score = +rank;
          items.push(file);
        }
      }
  
      // Sort the items order of decreasing relevance
      items.sort(function(a, b){
        if(a.score > b.score) return -1;
        if(a.score < b.score) return 1;
        return 0;
      });
  
      // And render them all
      renderSearchResults(items);
    }
docs: ## doSearch
  
  Actually perform the file search