Terminal emulator JS starter

The beginning of the terminal emulator