Simplified &REST implementation.

I think using the built in Array.slice is the saner choice here.