Fix nodeType check in fragment.js