function nodeListToArray(nodeList) { return Array.prototype.slice.call(nodeList); }