Fix: indexOf instead of in, browser vendor case sensitivity