fixed JS-problem by removing all newlines from the html timlineEntry