Add querySelector hook