Typescript Split String Into Array Javascript Concat Objects To Draw