Developers can add this to their app to communicate via TCP or Directly from a web page.
Connect to http://*userhostAndOrPort*/ws and send tcode with a newline attached
example in
websocket.send("L06000I500"+String.fromCharCode(10))
You can see the js in the source code for a more in depth version.