for (var i = 0; i < nodes.length; i += 1) {
    nodes[i].bind('click', function() {
        console.info(nodes[i]);
    });
}