fix(jqLite): convert NodeList to an Array to make PhantomJS 1.x happy

Closes #7851