Potting of photovoltaic junction boxes