Remove First Element From Array Javascript Without Mutation