How to wire PWM Spindle without PCB board

My PCB is not working, is there a way to wire PWM Spindle without PCB board, meaning directly to the PSU ? Thanks

http://x-carve-instructions.inventables.com/xcarve2015/step14/