Update headless-terminal

This PR just update headless-terminal to avoid the node module to define global.document, global.window, ...

Can you please bump version and publish on NPM.

Thank you.