Make the solo querySelectorAll polyfill a bit more resilient to jsdom's silliness