Best Way to Label and Test Breaker Switches | Family Handyman Junction boxes (or a J box) protect the connections from accidental damage and contain sparks and heat from a loose connection or short circuit. Solution: Add a box | Where connections aren't contained in an electrical box, install a box and reconnect the wires inside it.