Optimize varargs by using js.WrappedArray instead of scm.WrappedArray.