toNode firstElementChild fallback for older browsers

Many older browsers (IE<9) etc don't support firstElementChild but it is equivalent to children[0]. This is also useful for NodeJS implementations which don't support it e.g. jsdom