Add js unit tests for Transcripts.Editor.