Check Empty Value In Array Javascript Concatenate