IE does not have array.indexOf until version 9