Simple linklist written in nodejs