The counties that Obama went to in New Jersey Corzine carried. Obama went to Essex and Camden counties Corzine carried both counties. These counties have a large Afro-American vote. Corzine also carried Mercer Country where Trenton is located. Trenton also has a high Afro-American population. Obama brought out vote in the counties where he stumped for Corzine. Maybe in the last days of the campaign, Obama needed to have stumped in more counties.
2009 Election Results
http://elections.nytimes.com/2009/results/new-jersey.html