Added minified version, ability to recurse items by reference and a nodeList in the callback