canRemove).then(() => {
          crate.canRemove = !crate.canRemove;
        });
      }
    }

    hljs.highlightAll();

    apiCheckCrateDeps(currentVersion.index.name, currentVersion.index.vers).then((analysis) => {
      renderDependencies(currentVersion.index.deps, analysis);
    });
    apiGetCrateDlStats(currentVersion.index.name).then(stats => {
      const chart = new Chart(document.getElementById("tab-readme-dl-chart"), {
        type: "line",
        data: {
          labels: stats.days,
       