Typescript Split String Into Array Javascript Concat Not Working