fixing v8 call to be more compatible with different versions
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next