Fixed issue with escaping jQuery selectors.