Philadelphia Eagles quarterback Carson Wentz (11) looks to pass, during the first half at an NFL football game against the Miami Dolphins, Sunday, Dec. 1, 2019, in Miami Gardens, Fla. (AP Photo/Brynn Anderson)AP

The Philadelphia Eagles wide receiver group has been maligned in recent weeks for a lack of production, but two members of that unit came up with big plays late in the first half against the Miami Dolphins.

Rookie J.J. Arcega-Whiteside caught his first career touchdown pass with 6 seconds left in the first half and then quarterback Carson Wentz tossed the two-point conversion to wide receiver Nelson Agholor to give the Eagles a 21-14 halftime lead over the Dolphins at Hard Rock Stadium.

Philadelphia appeared to be in jeopardy of entering halftime trailing one of the NFL’s worst teams before the 12-play, 75-yard drive to close the first half.

The Eagles defense appeared to set the tone for the afternoon when cornerback Ronald Darby intercepted Dolphins quarterback Ryan Fitzpatrick on the first play of the game. It gave the Eagles a short field, and they took advantage with running back Miles Sanders taking a swing pass 15 yards for a touchdown.

Philadelphia forced a Miami three-and-out on the next possession, and the Eagles ran their lead to 10-0 less than five minutes into the game after kicker Jake Elliott hit a 48-yard field goal.

The Eagles seemed set to run away from one of the worst teams in the NFL. But the Dolphins had other ideas.

Late in the first quarter, Fitzpatrick tossed a deep pass up the left sideline to wide receiver DeVante Parker, who went up over Darby to pull it in. Darby fell, and Parker was able to run into the end zone for a 43-yard touchdown.

The Eagles went up 13-7 when Elliott kicked a 43-yard field goal early in the second quarter, but they squandered another scoring chance when left tackle Jason Peters was called for a false start on fourth-and-2 at the Miami 20. The Eagles were set to go for it, but they settled for the field goal.

And then the Dolphins answered. Miami drove down to the Philadelphia 1 — aided by an overturned pass interference penalty in the end zone — and the Eagles appeared to have the Dolphins stopped. But Miami used some trickery in a fake field goal that ended with holder Matt Haack flipping the ball to kicker Jason Sanders all alone in the back of the end zone.

Philadelphia was trailing Miami, 14-13.

The Eagles are looking to avoid losing three straight games for the first time this season, and a win over the Dolphins would bring the Eagles into a first place tie in the NFC East with the Dallas Cowboys.