Optimize js.Array and js.ArrayOps.

Consider writing `js.Array`