The electrical junction box should be installed inline with the Mirror Defogger’s lead wires and box. The box at the back of the defogger is meant to be located over the electrical box in the wall. This way it will be in the electrical box and not interfere with the defogger being flush with the mirror and the wall. The location where the wires leave must be entirely within the area of the new electrical junction box.