Port of Dashing to node.js