First version with node.js