code: function(array, value){
                  var exists = false;
                  $.map(array, function (item){
                      if(item == value) exists = true;
                  });
                  return exists;
              }
docs: HELPERS