Fix browser check, since vm.Script !== vm in Node 0.11 and later