Bonding of junction boxes on photovoltaic modules