Function 'indexOf' is not supported in IE9 documentMode 7.

IndexOf is not supported by documentMode 7, so function 'jQuery.inArray' is used instead.