IE8 support - indexOf