expose term.js instance

as `docker._terminal` in the browser