Be careful using JB weld to seal gasoline. I've had ethanol laced gas soften up JB weld, but I've heard, but can't confirm that newer JB weld is OK to use.
I was told years ago not to use a match to look in a gasoline can as it's not safe. Use a lighter instead.
YMMV, smiles, Ken