Add a makelistNode function that follows node.js callback conventions