Incorporate changes made for jquery.highlight-4.js

Appears some length checks were added for query selection and pattern