JS linked-list done!