remove the queryselector dep in favor of elem.querySelector to avoid bugs in the browser code