expose term.js instance