Powershell Array Remove First Element Javascript