rewrote v8 bindings