Improved performance for large DOMs on modern browsers

Picture elements are now located via querySelectorAll, if supported, which is substantially faster than traversing the DOM.