Porting "as_is" to V8