jQuery.inArray instead of indexOf

Using the jQuery.inArray instead of javascript array.indexOf which is not recognized by IE<9