diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt
index 8a9d9ace2122cad2dd0c89addf938ec52848afbf..664f271bd945b5612310671d9bea8d8405f94daf 100644
--- a/devNotes/twine JS.txt	
+++ b/devNotes/twine JS.txt	
@@ -2316,7 +2316,7 @@ window.getCost = function(array) {
 	
 	
 	//these two apply a multiplicative effect to all costs so far.
-	// Calculate what the deduced expenses would be, then subtract 
+	// Calculate what the deduced expenses would be, then subtract
 	costSoFar = (oldCash - State.variables.cash); //How much we have spent by this point; expected to be positive.
 	cashX(costSoFar - getEnvironmentCosts(costSoFar), "environment"); //getEnv takes total costs and makes it worse.  Figure out how much worse and record it
 
@@ -2331,7 +2331,7 @@ window.getCost = function(array) {
 
 //slave expenses
 window.predictTotalSlaveCosts = function(array3) {
-	var loopCosts = 0;	
+	var loopCosts = 0;
 	//slave expenses
 	for (var slave of array3) {
 		loopCosts += getSlaveCost(slave);
diff --git a/src/js/economyJS.tw b/src/js/economyJS.tw
index 41086d9a6a9089a60977214eb4649ed4ca5fb80a..7cea434cf444336eb6d38a2ad61f2fd37b540d3d 100644
--- a/src/js/economyJS.tw
+++ b/src/js/economyJS.tw
@@ -95,7 +95,7 @@ window.getCost = function(array) {
 	
 	
 	//these two apply a multiplicative effect to all costs so far.
-	// Calculate what the deduced expenses would be, then subtract 
+	// Calculate what the deduced expenses would be, then subtract
 	costSoFar = (oldCash - State.variables.cash); //How much we have spent by this point; expected to be positive.
 	cashX(costSoFar - getEnvironmentCosts(costSoFar), "environment"); //getEnv takes total costs and makes it worse.  Figure out how much worse and record it