create a terminal in a webpage