Replace CopyHistoryToClipboard UI with JS editor for displaying
commands.