Javascript Loop Through Array Until Found