It was close to the very end, but Virginia avenged last year's loss to James Madison with a home win, 55-50 to move to 8-0.