replay terminal output via embeddable javascript