replace modernizr contains function with String::indexOf, see #54