make some collections smaller
pass v8 handles by value, not by reference (as recommended in their manual)