code: function build_doc_map(docs) {
    var map = {};
    _.each(docs, function(tag) {
      if (map[tag["tagname"]])
        map[tag["tagname"]].push(tag);
      else
        map[tag["tagname"]] = new Array(tag);
    });
    return map;
  }
docs: Build map of at-tags for quick lookup