A simple doubly-linked list class for node.js