split into v8 and IE