Simple For Loop In Javascript Array Find