diff --git a/devNotes/Useful JS Function Documentation.txt b/devNotes/Useful JS Function Documentation.txt
index 602967b831108ea89b67a0622513be3167fafa7f..052d6e8686eab3f9062e362c17dee8597cef5ef5 100644
--- a/devNotes/Useful JS Function Documentation.txt	
+++ b/devNotes/Useful JS Function Documentation.txt	
@@ -346,14 +346,8 @@ Other Functions:
 isItemAccessible(itemName) - Returns if the string is available for use. Defaults to true.
 
 UtilJS [script]
-	arraySwap() - swaps inputted array.
-
 	html5passage(passage_function) - circumvents sugarcube, allowing a plain HTML5 UI within it
 
-	capFirstChar() - Capitalizes the first character of a given string.
-
-	addA() - Adds an `a ` or, if the first character is a vocal, an `an ` in front of a given string.
-
 	cmToInchString() - takes an integer e.g. $activeSlave.hLength, returns a string in the format 10 inches
 
 	cmToFootInchString() - takes an integer e.g. $activeSlave.height, returns a string in the format 6'5"
@@ -365,11 +359,6 @@ UtilJS [script]
 
 	FSChangePorn() - //Currently unused, widget version routes directly through FSChange()
 
-	ordinalSuffix(i) - takes a value as an input and then appends the appropriate suffix. e.g.$Day === 1 "today is the <<print ordinalSuffix($Day)>> of the month"
-		would print "today is the 1st of the month"
-
-	removeDuplicates() - Takes an array and returns a new array without duplicate entries
-
 	HackingSkillMultiplier() - outputs a value based off of the PC's hacking skill.
 
 	upgradeMultiplierArcology() - outputs a value based off of the PC's engineering skill.
@@ -382,6 +371,3 @@ UtilJS [script]
 
 	SkillIncrease() - Depreciates the sugarcube functions.
 
-	jsNdef - A .js port of sugarcube's ndef.
-
-	jsDef - A .js port of sugarcube's def.
diff --git a/devNotes/standaloneFunctions.md b/devNotes/standaloneFunctions.md
new file mode 100644
index 0000000000000000000000000000000000000000..838817b4e50801ccda2b96b6e1331c041be84e21
--- /dev/null
+++ b/devNotes/standaloneFunctions.md
@@ -0,0 +1,34 @@
+# Standalone JS Functions
+
+Collection of custom functions without dependencies on FC specific variables/data structures.
+
+## utilJS.js
+
+* `arraySwap(array, a , b)`:  
+    Swaps two values in an array.
+
+* `capFirstChar(string)`:  
+    Capitalizes the first character of `string`.
+
+* `addA(word)`:
+    Adds an `an ` if the first character is a vocal, otherwise `a `.
+
+* `ordinalSuffix(i)`:  
+    Takes a number and appends the appropriate suffix.
+    Example: `ordinalSuffix(1)` gives `1st`.
+
+* `ordinalSuffixWords(i)`:  
+    Takes a number and returns the appropriate ordinal.
+    Example: `ordinalSuffix(1)` gives `first`.  
+    For number greater than 19 identical to `ordinalSuffix(i)`  
+    
+* `removeDuplicates(array)`:  
+    Takes an array and returns a new array without duplicate entries.
+
+* `jsDef(x)`:  
+    Returns whether x is undefined. A JS port of sugarcube's def.
+
+* `between(a, low, high)`:  
+    Returns `true` if `a` is between `low` and `high`, otherwise `false`.
+
+
diff --git a/src/js/utilJS.js b/src/js/utilJS.js
index 251986164ae21ba68da0d37fafaeadb8e055d97d..b15f8aacceca1f5aea2c30e320a6e04cbdab916c 100644
--- a/src/js/utilJS.js
+++ b/src/js/utilJS.js
@@ -1688,6 +1688,10 @@ window.lengthToEitherUnit = function(s) {
 	return `${s}cm`;
 };
 
+/**
+ * @param {number} i
+ * @returns {string}
+ */
 window.ordinalSuffix = function ordinalSuffix(i) {
 	let j = i % 10;
 	let k = i % 100;
@@ -1702,6 +1706,11 @@ window.ordinalSuffix = function ordinalSuffix(i) {
 	}
 	return `${i}th`;
 };
+
+/**
+ * @param {number} i
+ * @returns {string}
+ */
 window.ordinalSuffixWords = function(i) {
 	const text = ["zeroth", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "thirteenth", "fourteenth", "fifteenth", "sixteenth", "seventeenth", "eighteenth", "nineteenth"];
 	if (i < text.length) {
@@ -1712,7 +1721,7 @@ window.ordinalSuffixWords = function(i) {
 
 /**
  * @param {Iterable<any>} array
- * @returns {Set<any>}
+ * @returns {any[]}
  */
 window.removeDuplicates = function removeDuplicates(array) {
 	return [...new Set(array)];