J.J. Barea on energy in Mavs win over Nets