Wall Street closes higher on Amazon boost, despite economic worries