Linked List ADT for browser and nodejs