Add linked list js class