fixed recursive traversal bug, replaced by an iterative traversal, fixes issue https://github.com/jsdom/jsdom/issues/2296
fixed recursive traversal bug, replaced by an iterative traversal, fixes issue https://github.com/jsdom/jsdom/issues/2296

dperini/nwsapi