diff --git a/src/debugging/debugJS.js b/src/debugging/debugJS.js
index 86ca5dd2d9c83f88edf02c4049205e3a3e2a7379..cc502b62a89adbb78af17f1dd187411fb8db57bf 100644
--- a/src/debugging/debugJS.js
+++ b/src/debugging/debugJS.js
@@ -54,7 +54,7 @@ window.diffFlatten = function diffFlatten(data) {
 		if (Object(cur) !== cur) {
 			result[prop] = cur;
 		} else if (Array.isArray(cur)) {
-			for (let i=0, l=cur.length; i<l; i++)
+			for (var i=0, l=cur.length; i<l; i++) // don't change the "var" to "let"
 				recurse(cur[i], prop + "[" + i + "]");
 			if (l === 0)
 				result[prop] = [];
diff --git a/src/js/optionsMacro.js b/src/js/optionsMacro.js
index 54c9e134d33fd9db6611a8288e94e747c496e376..ea972728c1a1804ee2d2b2958db1979e087479cb 100644
--- a/src/js/optionsMacro.js
+++ b/src/js/optionsMacro.js
@@ -147,12 +147,10 @@ Macro.add('options', {
 						const isEnableOption = argText && (argText.startsWith("Enable") || argText === "Yes" || argText.startsWith("Allow"));
 						const isDisableOption = argText && (argText.startsWith("Disable") || argText === "No" || argText.startsWith("Deny"));
 						let className = "optionMacroOption ";
-						if (isEnableOption === "optionMacroEnable") {
-							className += isDisableOption;
-						} else {
-							if (isDisableOption) {
-								className += "optionMacroDisable";
-							}
+						if (isEnableOption) {
+							className += "optionMacroEnable";
+						} else if (isDisableOption) {
+							className += "optionMacroDisable";
 						}
 						if (found_index !== i || hasMultipleOptionsWithSameValue) {
 							let onClickChange = args[hasComparitor ? 3 : 2];