Replaced jQuery inArray method