changed to forked version of term.js to add paste features