Powershell Push Element In Array Javascript Splice Strings