Optimize js.Array and js.ArrayOps.

Compile error. `.slice` takes exactly 2 arguments.