[evita] v8_glue: Use indices technique of C++ vardic template, inspired by http://crrev.com/671433004