Changed query to querySelector.