Get collections.namedtuple working on node.js