Web component version of terminal.js (https://github.com/avgp/terminal.js)