get compatible with node.js