make jquery selector more general for theme/js wrapper compatibility