Get Minimum Value From Array Javascript Concat Method