Use _.indexOf rather than [].indexOf

IE8 apparently does not like [].indexOf