<div id="chart">
  <canvas id="{{ .id }}"></canvas>
  <script src="{{ .src }}"></script>
</div>
<script src="/js/chart-params.js"></script>