Problems using CNC.js

Yeah I have only dipped my toe into the code for the tinyweb/shopfloor GUIs to do a bit of customization and it was a bit of an exercise in frustration. JS is not really in my wheelhouse, unfortunately.