fix(util) change the way of detection node.js