#1 replace with node.js