Clone of v8-juice from https://code.google.com/p/v8-juice