JavaScript zawiera nieczuły przypadek
stringtodetect.toLowerCase().includes("stringtocompare");
// OR, Alternatively...
stringtodetect.toLowerCase().includes(variable.toLowerCase());
Aggressive Anteater (AlexDev404)