Issue #2357205 by eshta: Add syntax validation for jQuery selector.