When J-B Weld, an epoxy and adhesive brand that had little awareness beyond a devoted cult of do-it-yourselfers, sought a wider audience, the company encountered something of a sticky situation: Its marketing had also traditionally been do-it-yourself.