Add an event listener to a list of HTML elements
and returns a remove listener function.

@param {NodeList|HTMLCollection} nodeList
@param {String} type
@param {Function} callback
@return {Object}
function listenNodeList(nodeList, type, callback) {
    Array.prototype.forEach.call(nodeList, function(node) {
        node.addEventListener(type, callback);
    });

    return {
        destroy: function() {
            Array.prototype.forEach.call(nodeList, function(node) {
                node.removeEventListener(type, callback);
            });
        }
    }
}