Added Node.JS implementation