The Dow Jones industrial average topped 14,000 for the first time since 2007 on Friday.