Updated transcript html and highlight function