Added support for many versions of v8 javascript