Use of !, _.contains instead of Array.indexOf