Speed boost in htmlToNodes()

Similar to returning an element selected by its ID in the Firebolt selector, creating an empty NodeCollection and then setting its first element is faster than passing the element in to the constructor.

There's also an indentation fix in here.