IE8 patch: Array.indexOf to $.inArray