use component/query instead of querySelectorAll

for browser compatibility and world peace.