emplate in HTML:

<pre class="prettyprint lang-html">
&lt;script id="item-template" type="text/x-handlebars-template"&gt;
  &lt;h1&gt;{{header}}&lt;/h1&gt;
  &lt;p&gt;{{description}}&lt;/p&gt;
&lt;/script&gt;
</pre>

  Compile the template:

<pre class="prettyprint lang-js">
var source = document.getElementById('item-template').innerHTML;
var template = Handlebars.compile(source);
</pre>

  And then specify the template in the Timeline options

<pre class="prettyprint lang-js">var options = {
  template: te