Remove incorrect nodeType check in fragment.js