Add fallback for IE8. Here, Array.indexOf is missing, but we cannot change the prototype of Array.