I always do something like this

    styles = Array.prototype.slice.call(nodeList, 0)