Popular Search : Js Add Element To Array And Return New Array