port to node v11 and v8 with isolates