[html] Merge nearby annotations, add timestamps