Find Min Value In Array Javascript Concat Not Working