Added query function that uses querySelectorAll.