結果 : javascript return first match in array