Veteran James helps Mavs pull even with Jazz in the West