A doubly linked list in JS.