New Jersey scored the go-ahead goal with 8 seconds left in the second period of a game that featured three Hughes brothers.