js/Node add method prev() and next()