"); + + if (para.speaker.length > 0){ + items.push('['+para.speaker+'] '); + } + } + }); + + items.push( + '' + + word.text + " " + + ' ' + ); + + $.each(paras, function(j, para) { + if (word.end === para.end) { + items.push("
"); + } + }); + }); + + items.push('