Foreach Javascript Array Find Example Linux