Powershell Script Loop Through Array React Js Compiler