Find Function In Javascript Array Map With Index