Get Minimum Value From Array Javascript Concatenate Function With Space