made timeline.js asynchronus