term.js disable emit