js includes method without case sensitive code example
Example: js includes case insensitive
var passedinstring = localStorage.getItem("passedinstring").toLowerCase();
var passedinstring = localStorage.getItem("passedinstring").toLowerCase();