Do not display timeline js after navigating pages

Timeline js(agnito:meteor-timeline package) works well when I first get into the site.

However, When coming back to the template including timeline js after
page moving thru navigation menu using iron router or something like
that, timeline isn’t displayed .

What I am only able to see is empty <div class=“storyjs-timeline” …> .
The way to display the time line is refreshing(F5) the page.
Could you check the code below?

< template name=“tl”>
< div id=“timeline-embed”>
< /div>
< /template>


var tempFunc = function(){
type: ‘timeline’,
width: ‘100%’,
height: ‘400’,
source: dataobject, // time line source , JSON
embed_id: ‘timeline-embed’,