inArray no checks for deep equality, for quicker inArray where id doesn't matter use $.inArray. Fixed duplicate routeMatched subscriptions.