The Dow gains 300 points as Salesforce and other tech stocks rise