Javascript String equalsIgnoreCase(otherStr)
String.prototype.equalsIgnoreCase = function (otherStr) { return this.toLowerCase() === otherStr.toLowerCase(); }