add the ability to use v8 instead of rhino