Added missed trade.js file and corrected constants.js