jQuery.inArray has its own quirks
unix line endings, fool.