You could always go with SRAM E-tap and just forget about all the wires and junction boxes.
I have a bike with Di2 and went with the bar end box with handlebars designed for internal wiring, but to be honest, if I were to build another bike (as soon as I hit the lottery) I'd either go SRAM wireless, or wait to see if Shimano goes that route.