Lightweight JavaScript powered element queries