Gcode for Javascript