Support array-like objects of DOM elements in render (jquery)