Use For Doubly Linked List In JavaScript