Added some js code for a terminal part

http://terminal.jcubic.pl/examples.php