PCB design in Javascript