refactored pcb.js (all caps was ugly)