no need for require("") in browser. Just use global 'terminal' instead.