Optimize js.Array and js.ArrayOps.