component install not working

I thought I had tested it with component but obviously not since it can't install without a scripts array. I also changed some of the internals because I think accessing the arguments object is slow. It made a big difference in the before and after bench I did but your mileage might vary since in the before test I did it was actually slower than slice