Update spawnCost.js