It appears the plus side of the caps should go where the wires are and the ground or negative side should go to ground. Should be pretty straight forward. If need be trace the wires back and see if they go to ground or another circuit. That should help you find which way they need to be installed. You may want to get some better caps to place in it as well. And be careful of electrical shock as well!! Would hate to see you in the obituaries!!