diff --git a/src/js/assayJS.js b/src/js/assayJS.js
index e2fd0b1a8dcfd4a2dc53710f5d85aa979ff3516a..af8c87f0631931b64a25289dbda8ba45f4a4015e 100644
--- a/src/js/assayJS.js
+++ b/src/js/assayJS.js
@@ -1,4 +1,4 @@
-window.isSlim = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isSlim = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	let slim = false;
 	const ArcologyZero = State.variables.arcologies[0];
 
@@ -27,11 +27,11 @@ window.isSlim = /** @param {App.Entity.SlaveState} slave */ function (slave) {
 	return slim;
 };
 
-window.isStacked = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isStacked = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return (slave.butt > 4) && (slave.boobs > 800);
 };
 
-window.isModded = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isModded = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	const tatScore = SlaveStatsChecker.tatScore(slave);
 	const piercingScore = SlaveStatsChecker.piercingScore(slave);
 	const modScore = piercingScore+tatScore;
@@ -39,39 +39,39 @@ window.isModded = /** @param {App.Entity.SlaveState} slave */ function (slave) {
 	return ((modScore > 15) || (piercingScore > 8 && tatScore > 5));
 };
 
-window.isUnmodded = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isUnmodded = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return (!isModded(slave) && (slave.corsetPiercing === 0) && (SlaveStatsChecker.piercingScore(slave) < 3) && (SlaveStatsChecker.tatScore(slave) < 2));
 };
 
-window.isXY = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isXY = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return (slave.dick > 0);
 };
 
-window.isYoung = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isYoung = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return (slave.visualAge < 30);
 };
 
-window.isPreg = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isPreg = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return ((slave.bellyPreg >= 5000) || (slave.bellyImplant >= 5000));
 };
 
-window.isNotPreg = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isNotPreg = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return (!isPreg(slave) && (slave.belly < 100) && (slave.weight < 30) && !setup.fakeBellies.includes(slave.bellyAccessory));
 };
 
-window.isPure = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.isPure = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	return ((slave.boobsImplant === 0) && (slave.buttImplant === 0) && (slave.waist >= -95) && (slave.lipsImplant === 0) && (slave.faceImplant < 30) && (slave.bellyImplant === -1) && (Math.abs(slave.shouldersImplant) < 2) && (Math.abs(slave.hipsImplant) < 2));
 };
 
-window.slimPass = /** @param {App.Entity.SlaveState} slave */ function (slave) {
+window.slimPass = /** @param {App.Entity.SlaveState} slave */ function(slave) {
 	let slimPass = 0;
-	let ArcologyZero = State.variables.arcologies[0];
+	const ArcologyZero = State.variables.arcologies[0];
 
 	if (ArcologyZero.FSSlimnessEnthusiastLaw === 1) {
 		if ((slave.boobs < 300) && (slave.butt <= 1) && (slave.waist <= 10)) {
-			if ((ArcologyZero.FSPhysicalIdealist === "unset") && (ArcologyZero.FSHedonisticDecadenceStrongFat === 0) && (slave.muscles > 30)) { /*muscle check*/
+			if ((ArcologyZero.FSPhysicalIdealist === "unset") && (ArcologyZero.FSHedonisticDecadenceStrongFat === 0) && (slave.muscles > 30)) { /* muscle check*/
 				slimPass = 0;
-			} else if ((ArcologyZero.FSHedonisticDecadence !== "unset") || (ArcologyZero.FSPhysicalIdealistStrongFat === 1)) { /*weight check*/
+			} else if ((ArcologyZero.FSHedonisticDecadence !== "unset") || (ArcologyZero.FSPhysicalIdealistStrongFat === 1)) { /* weight check*/
 				if (slave.weight > 30) {
 					slimPass = 0;
 				}
@@ -112,7 +112,7 @@ window.inferiorRaceP = /** @param {App.Entity.SlaveState} slave */ function infe
 
 window.hasVisibleHeterochromia = /** @param {App.Entity.SlaveState} slave */ function hasVisibleHeterochromia(slave) {
 	return slave.geneticQuirks.heterochromia !== 0 && slave.geneticQuirks.heterochromia !== 1 && slave.geneticQuirks.albinism !== 2 && slave.geneticQuirks.heterochromia !== slave.eyeColor && slave.eyeColor === slave.origEye;
-}
+};
 
 window.isLeaderP = /** @param {App.Entity.SlaveState} slave */ function isLeaderP(slave) {
 	const V = State.variables;
@@ -250,7 +250,7 @@ window.newSlave = /** @param {App.Entity.SlaveState} slave */ function newSlave(
 		V.genePool.push(slave);
 		/* Store non-albino stats in genePool */
 		if (slave.geneticQuirks.albinism === 2) {
-			var albInd = V.genePool.findIndex(function(s) { return s.ID === slave.ID; });
+			const albInd = V.genePool.findIndex(function(s) { return s.ID === slave.ID; });
 			V.genePool.genePool[albInd].origSkin = slave.albinismOverride.skin;
 			V.genePool.genePool[albInd].origEye = slave.albinismOverride.eyeColor;
 			V.genePool.genePool[albInd].origHColor = slave.albinismOverride.hColor;
@@ -392,7 +392,7 @@ window.getPronouns = /** @param {App.Entity.SlaveState} slave */ function getPro
 		possessive: slave.possessive,
 		object: slave.object,
 		objectReflexive: slave.objectReflexive,
-		noun: slave.noun };
+		noun: slave.noun};
 };
 
 window.SlavePronouns = /** @param {App.Entity.SlaveState} slave */ function SlavePronouns(slave) {
@@ -557,7 +557,7 @@ window.Enunciate = /** @param {App.Entity.SlaveState} slave */ function Enunciat
 
 window.fetishChangeChance = /** @param {App.Entity.SlaveState} slave */ function fetishChangeChance(slave) {
 	const V = State.variables;
-	var chance = 0, sex = 0;
+	let chance = 0, sex = 0;
 
 	if (slave.clitSetting !== slave.fetish) {
 		if (slave.balls) {
@@ -566,7 +566,7 @@ window.fetishChangeChance = /** @param {App.Entity.SlaveState} slave */ function
 		else if (slave.ovaries || slave.mpreg) {
 			sex = V.fertilityAge - slave.actualAge;
 		}
-		chance = Math.trunc(Math.clamp((slave.devotion/4)-(slave.fetishStrength/4)-(Math.max(sex,0)*10), 0, 100));
+		chance = Math.trunc(Math.clamp((slave.devotion/4)-(slave.fetishStrength/4)-(Math.max(sex, 0)*10), 0, 100));
 	}
 
 	return chance;
@@ -590,7 +590,7 @@ window.SlaveFullBirthName = /** @param {App.Entity.SlaveState} slave */ function
 
 window.PlayerName = function PlayerName() {
 	const V = State.variables;
-	let names = V.PC.surname ? [V.PC.name, V.PC.surname] : [V.PC.name];
+	const names = V.PC.surname ? [V.PC.name, V.PC.surname] : [V.PC.name];
 	if ((V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(V.PC.nationality)) || (V.surnameOrder === 2))
 		names.reverse();
 	return names.join(" ");
@@ -598,7 +598,7 @@ window.PlayerName = function PlayerName() {
 
 window.PCTitle = function PCTitle() {
 	const V = State.variables;
-	let titles = [];
+	const titles = [];
 
 	V.PCTitle = PlayerName();
 
@@ -994,7 +994,7 @@ window.PCTitle = function PCTitle() {
 		titles.push("Caretaker of the Youth");
 	}
 
-	let schoolsPresent = [], schoolsPerfected = [], schoolTitle = "";
+	const schoolsPresent = []; const schoolsPerfected = []; let schoolTitle = "";
 	if (V.TSS.schoolProsperity >= 10) {
 		schoolsPerfected.push("The Slave School");
 	} else if (V.TSS.schoolPresent === 1) {
@@ -1131,9 +1131,12 @@ window.PCTitle = function PCTitle() {
 };
 
 window.PoliteRudeTitle = /** @param {App.Entity.SlaveState} slave */ function PoliteRudeTitle(slave) {
-	const V = State.variables, PC = V.PC, s = V.sEnunciate, ss = V.ssEnunciate;
+	const V = State.variables;
+	const PC = V.PC;
+	const s = V.sEnunciate;
+	const ss = V.ssEnunciate;
 
-	var r = "";
+	let r = "";
 	if (slave.nationality === "Japanese") {
 		if (slave.trust > 0) {
 			r += `${PC.name}${PC.title > 0 ? "kun" : "chan"}`;
@@ -1159,7 +1162,7 @@ window.SlaveTitle = /** @param {App.Entity.SlaveState} slave */ function SlaveTi
 	let r = "";
 	if (V.newDescriptions === 1) {
 		if (slave.dick > 0 && slave.balls > 0 && slave.boobs > 300 && slave.vagina > -1 && slave.ovaries === 1) {
-			if (jsRandom(1,100) > 50) {
+			if (jsRandom(1, 100) > 50) {
 				r = "futanari";
 			} else {
 				r = "herm";
@@ -1529,8 +1532,8 @@ window.DegradingName = /** @param {App.Entity.SlaveState} slave */ function Degr
 		"be your Head Girl",
 		"guard you",
 		"recruit girls"];
-	let names = [];
-	let suffixes = [];
+	const names = [];
+	const suffixes = [];
 
 	if (slave.fuckdoll > 0) {
 		slave.slaveName = "Fuckdoll No. " + slave.ID;
@@ -1900,7 +1903,7 @@ window.DegradingName = /** @param {App.Entity.SlaveState} slave */ function Degr
 				break;
 		}
 	}
-	let surname = jsEither(suffixes);
+	const surname = jsEither(suffixes);
 	if (typeof surname === "string" && surname.toLowerCase() === slave.slaveName.toLowerCase()) {
 		DegradingName(slave);
 	}
@@ -1967,7 +1970,7 @@ window.slaveSortMinor = /** @param {App.Entity.SlaveState[]} slaves */ function
 	slaves = slaves.sort((a, b) => a.slaveName < b.slaveName ? -1 : 1);
 };
 
-window.MenialPopCap = function MenialPopCap () {
+window.MenialPopCap = function MenialPopCap() {
 	const V = State.variables;
 	let popCap = 500;
 	let r = "";
@@ -1979,7 +1982,7 @@ window.MenialPopCap = function MenialPopCap () {
 	}
 	let overMenialCap = V.menials + V.fuckdolls + V.menialBioreactors - popCap;
 	if (overMenialCap > 0) {
-		let price = menialSlaveCost(-overMenialCap);
+		const price = menialSlaveCost(-overMenialCap);
 		if (V.menials > 0) {
 			if (V.menials > overMenialCap) {
 				cashX((overMenialCap * price), "menialTrades");
@@ -2038,7 +2041,7 @@ window.faceIncrease = /** @param {App.Entity.SlaveState} slave */ function faceI
 		r += `<span class="green">${His} face is now quite beautiful,</span> rather than merely pretty.`;
 	else if (slave.face <= 95 && slave.face + amount > 95)
 		r += `<span class="green">${His} face is now perfect.</span> It's difficult to imagine how it could be any more beautiful.`;
-	slave.face = Math.clamp(slave.face + amount,-100,100);
+	slave.face = Math.clamp(slave.face + amount, -100, 100);
 	if (slave.face > 95) slave.face = 100;
 	return r;
 };