$.inArray is being used with Strings, which breaks IE8

Adding the inArray (proxy) function method to properly handle calls with an Array vs those with a String in IE8.