update apidoc for `previous` and `next`

update the comments of `node-core.js`
the  `previous` and next have two arguments but only the first one is included in the comment.

see #1459