term.js hook the keyup,keydown event.delete the hook