print with javascript and send commands code example
Example: how to print to screen in javascript
console.log("Hello World!");
alert("Console has been updated.");
console.log("Hello World!");
alert("Console has been updated.");