jQuery inArray() doesn't mean what you think